Closed minh2134 closed 5 months ago
same with libhoudini, forced to close while game loading
I had this problem a long time ago...even with google's official emulator. UID:0 is displayed in the upper right corner, and it will crash when clicked start. I guess it's a problem with the Blue Archive...
it seems to only happens with the Global version of Blue archive, as I have seen reports of successfully launched JP version. This might be a big hint but i don't know any further.
I was doing some digging, and it appears to be something related to the file system? Acording to this person we would need a new kernel, but I don't know what exactly they're talking about nor how to change Waydroid's kernel.
I was doing some digging, and it appears to be something related to the file system? Acording to this person we would need a new kernel, but I don't know what exactly they're talking about nor how to change Waydroid's kernel.
unfortunately......
The repo owner clarified that it actually doesn't work more than just setting the data perm as i did (getting into waiting screen, crash at login screen) however i seems to find the same problem as this guy, and as far as I understand it, Bliss OS on QEMU/KVM work, so either BlissOS did something really right, or QEMU translation somehow makes it work better than libndk/libhoudini
EDIT: the crash report in waydroid logcat:
--------- beginning of crash
06-22 19:36:39.972 7789 7789 F linker : error: "/data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libcrashlytics-trampoline.so" is for EM_AARCH64 (183) instead of EM_X86_64 (62)
06-22 19:36:39.977 2192 7307 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-22 19:36:39.977 2192 7307 E CRASH : Version '2019.3.15f1 (ba3f645346ad)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
06-22 19:36:39.977 2192 7307 E CRASH : Build fingerprint: 'waydroid/lineage_waydroid_x86_64/waydroid_x86_64:11/RQ3A.211001.001/29:userdebug/test-keys'
06-22 19:36:39.977 2192 7307 E CRASH : Revision: '0'
06-22 19:36:39.977 2192 7307 E CRASH : ABI: 'arm64'
06-22 19:36:39.977 2192 7307 E CRASH : Timestamp: 2023-06-22 19:36:39+0700
06-22 19:36:39.977 2192 7307 E CRASH : pid: 2192, tid: 7307, name: Thread-84 >>> com.nexon.bluearchive <<<
06-22 19:36:39.977 2192 7307 E CRASH : uid: 10159
06-22 19:36:39.977 2192 7307 E CRASH : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7f0f243718b0
06-22 19:36:39.977 2192 7307 E CRASH : x0 0000000000000001 x1 00007f0e045c37c8 x2 0000000000000000 x3 0000000000000000
06-22 19:36:39.978 2192 7307 E CRASH : x4 00007f0e045c37c8 x5 0000000000000000 x6 0000000000000001 x7 3cf08f010b6d53dc
06-22 19:36:39.978 2192 7307 E CRASH : x8 c129596d4dcaea89 x9 c129596d4dcaea89 x10 0000000000000010 x11 0000000000000000
06-22 19:36:39.978 2192 7307 E CRASH : x12 0000000000000006 x13 8da0000000000000 x14 185644bfd233047b x15 f21eac8135fe2b2f
06-22 19:36:39.978 2192 7307 E CRASH : x16 00007f0f2474eab8 x17 00007f0f2813958c x18 000000000365268f x19 0000000000000097
06-22 19:36:39.978 2192 7307 E CRASH : x20 0000000000000005 x21 0000000000000000 x22 00007f0e045c3838 x23 00007f0e045c4e5c
06-22 19:36:39.978 2192 7307 E CRASH : x24 00007f0e045c4b88 x25 0000000000000001 x26 00007f0e1513a100 x27 00007f0e045c5478
06-22 19:36:39.978 2192 7307 E CRASH : x28 00007f0e045c54c0 x29 00007f0e045c38e0
06-22 19:36:39.978 2192 7307 E CRASH : sp 00007f0e045c3820 lr 00007f0f243718b0 pc 00007f0f243718b0
06-22 19:36:39.978 2192 7307 E CRASH :
06-22 19:36:39.978 2192 7307 E CRASH : backtrace:
06-22 19:36:39.978 2192 7307 E CRASH : #00 pc 000000000011d8b0 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_òngsm!+140) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #01 pc 000000000011da24 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_!{³ngsm!+80) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #02 pc 000000000012806c /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_
06-22 19:36:39.978 2192 7307 E CRASH : Engsm!+100) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #03 pc 0000000000122bbc /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_ùngsm!+80) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #04 pc 0000000000121d74 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_¼ngsm!+92) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #05 pc 000000000013c5b8 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_ }íngsm!+152) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #06 pc 000000000011dd10 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_"½ngsm!+188) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #07 pc 000000000011fe4c /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_8angsm!+724) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #08 pc 000000000011ef64 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_!_*ngsm!+504) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #09 pc 000000000011ebe8 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_Bângsm!+496) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #10 pc 000000000011c8f4 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_:qngsm!+104) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #11 pc 000000000011c2ec /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #12 pc 0000000000119340 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #13 pc 00000000001188a8 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #14 pc 0000000000116788 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #15 pc 000000000011584c /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb)
06-22 19:36:39.978 2192 7307 E CRASH : #16 pc 0000000000001018 /system/lib64/arm64/libnative_bridge_vdso.so (BuildId: 597ccc47299371402eb0987d3e9569e5)
06-22 19:36:40.091 2192 2973 E CRASH : other thread is trapped; signum = 11
The repo owner clarified that it actually doesn't work more than just setting the data perm as i did (getting into waiting screen, crash at login screen) however i seems to find the same problem as this guy, and as far as I understand it, Bliss OS on QEMU/KVM work, so either BlissOS did something really right, or QEMU translation somehow makes it work better than libndk/libhoudini
EDIT: the crash report in waydroid logcat:
--------- beginning of crash 06-22 19:36:39.972 7789 7789 F linker : error: "/data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libcrashlytics-trampoline.so" is for EM_AARCH64 (183) instead of EM_X86_64 (62) 06-22 19:36:39.977 2192 7307 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 06-22 19:36:39.977 2192 7307 E CRASH : Version '2019.3.15f1 (ba3f645346ad)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 06-22 19:36:39.977 2192 7307 E CRASH : Build fingerprint: 'waydroid/lineage_waydroid_x86_64/waydroid_x86_64:11/RQ3A.211001.001/29:userdebug/test-keys' 06-22 19:36:39.977 2192 7307 E CRASH : Revision: '0' 06-22 19:36:39.977 2192 7307 E CRASH : ABI: 'arm64' 06-22 19:36:39.977 2192 7307 E CRASH : Timestamp: 2023-06-22 19:36:39+0700 06-22 19:36:39.977 2192 7307 E CRASH : pid: 2192, tid: 7307, name: Thread-84 >>> com.nexon.bluearchive <<< 06-22 19:36:39.977 2192 7307 E CRASH : uid: 10159 06-22 19:36:39.977 2192 7307 E CRASH : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7f0f243718b0 06-22 19:36:39.977 2192 7307 E CRASH : x0 0000000000000001 x1 00007f0e045c37c8 x2 0000000000000000 x3 0000000000000000 06-22 19:36:39.978 2192 7307 E CRASH : x4 00007f0e045c37c8 x5 0000000000000000 x6 0000000000000001 x7 3cf08f010b6d53dc 06-22 19:36:39.978 2192 7307 E CRASH : x8 c129596d4dcaea89 x9 c129596d4dcaea89 x10 0000000000000010 x11 0000000000000000 06-22 19:36:39.978 2192 7307 E CRASH : x12 0000000000000006 x13 8da0000000000000 x14 185644bfd233047b x15 f21eac8135fe2b2f 06-22 19:36:39.978 2192 7307 E CRASH : x16 00007f0f2474eab8 x17 00007f0f2813958c x18 000000000365268f x19 0000000000000097 06-22 19:36:39.978 2192 7307 E CRASH : x20 0000000000000005 x21 0000000000000000 x22 00007f0e045c3838 x23 00007f0e045c4e5c 06-22 19:36:39.978 2192 7307 E CRASH : x24 00007f0e045c4b88 x25 0000000000000001 x26 00007f0e1513a100 x27 00007f0e045c5478 06-22 19:36:39.978 2192 7307 E CRASH : x28 00007f0e045c54c0 x29 00007f0e045c38e0 06-22 19:36:39.978 2192 7307 E CRASH : sp 00007f0e045c3820 lr 00007f0f243718b0 pc 00007f0f243718b0 06-22 19:36:39.978 2192 7307 E CRASH : 06-22 19:36:39.978 2192 7307 E CRASH : backtrace: 06-22 19:36:39.978 2192 7307 E CRASH : #00 pc 000000000011d8b0 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_�òngsm!������������������������������������������+140) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #01 pc 000000000011da24 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_!{³ngsm!�����������������������������������+80) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #02 pc 000000000012806c /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_ 06-22 19:36:39.978 2192 7307 E CRASH : E�ngsm!���������������������������������������+100) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #03 pc 0000000000122bbc /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_�ù�ngsm!���������������������������������������������������������������������������+80) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #04 pc 0000000000121d74 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_��¼ngsm!�����������������������������������������������������������������������������������+92) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #05 pc 000000000013c5b8 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_ }íngsm!����������������������������������������������������������������������������������+152) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #06 pc 000000000011dd10 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_�"½ngsm!�������������������������������������������������������������������������������������������+188) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #07 pc 000000000011fe4c /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_�8angsm!����������������������������������������������������������+724) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #08 pc 000000000011ef64 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_!_*ngsm!���������������������������������������������������������������������������������������������������������������������������������+504) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #09 pc 000000000011ebe8 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_�Bângsm!�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������+496) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #10 pc 000000000011c8f4 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (_�:qngsm!��������������������������������������������������������������������������������������������������������������������������������������������������������������+104) (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #11 pc 000000000011c2ec /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #12 pc 0000000000119340 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #13 pc 00000000001188a8 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #14 pc 0000000000116788 /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #15 pc 000000000011584c /data/app/~~c4SIbL7RTpaRz_JhEm8F5g==/com.nexon.bluearchive-vlLm6Z2Suk1g77pbB6ES3Q==/lib/arm64/libngsm.so (BuildId: 272d517b0b3b09b383ebedc58e0ec1b30569e6bb) 06-22 19:36:39.978 2192 7307 E CRASH : #16 pc 0000000000001018 /system/lib64/arm64/libnative_bridge_vdso.so (BuildId: 597ccc47299371402eb0987d3e9569e5) 06-22 19:36:40.091 2192 2973 E CRASH : other thread is trapped; signum = 11
ironically, I tested the same 11.13 a while ago and it crashed.
I'm not even getting to the loading screen, it just pops up this error when I launch it
Seems like you guys managed to get to the loading screen, I couldn't even launch the game
OS: Arch Linux
GPU: AMD Ryzen 5 5500U laptop
Kernel: linux-zen 6.4.8-zen1-1-zen
Host mesa version: mesa 23.1.5
Desktop: Sway
Using libndk translation (from waydroid_script repo, libhoudini is very laggy for me)
Tried setting the file permissions to 777, didn't work
Tried nodataperm hack too, didn't work
I also tried uninstalling libndk and installing libhoudini to see if it can launch the game, but it still gave me the same error
This comment on #702 mentions it's because of the anti-cheat. Is there a fix/workaround for it?
Help
I'm not even getting anything to pop up, just a black screen. I do get Azur Lane/Arknights working, but Blue Archive just doesn't start at all for me.
I'm not even getting anything to pop up, just a black screen. I do get Azur Lane/Arknights working, but Blue Archive just doesn't start at all for me.
Arknights works fine for me too
Blue archive has issue. did anyone fixed it?Ark Knight and Azur Lane Ok!
To spend an entire day figuring out how to set up Android emulation on linux to play one game and in the end find out that this one game is not supported is a certain kind of mood
To spend an entire day figuring out how to set up Android emulation on linux to play one game and in the end find out that this one game is not supported is a certain kind of mood
it certainly is
Got this issue too
Has anyone looked into how Windows emulators circumvent these issues? Blue Archive is playable on BlueStacks and on LD Player I think.
Would anyone here be interested in contributing to a bounty for whoever can make Blue Archive playable on Waydroid? I'd contribute something for sure.
The cursed issue here is that we're not running into an anticheat check on global, the anticheat literally segfaults while trying to run, so it's kind of a cursed issue.
Feels like the issue is on the translation layer's side.
Has anyone looked into how Windows emulators circumvent these issues? Blue Archive is playable on BlueStacks and on LD Player I think.
In fact it can now even run on WSA, though performance seems to be a bit lacking.
Has anyone looked into how Windows emulators circumvent these issues? Blue Archive is playable on BlueStacks and on LD Player I think.
In fact it can now even run on WSA, though performance seems to be a bit lacking.
Make sure the Global version is playable, that's the version we want to make it work
Has anyone looked into how Windows emulators circumvent these issues? Blue Archive is playable on BlueStacks and on LD Player I think.
In fact it can now even run on WSA, though performance seems to be a bit lacking.
If global is running now on WSA, all we should need is libhoudini from it. I think we'd need Android 13 too, though...
Has anyone looked into how Windows emulators circumvent these issues? Blue Archive is playable on BlueStacks and on LD Player I think.
Most windows emulators are a black box. Kinda scary if you think about it.
Yeah, I was talking about Global when I said it's running under WSA.
If global is running now on WSA, all we should need is libhoudini from it. I think we'd need Android 13 too, though...
Well those I can provide http://space.nurdspace.nl/~melan/way/ should be Android 13 Got them straight off the vendor.vhdx, the wsa build itself is from https://github.com/MustardChef/WSABuilds/tree/master
only the lib is not enough, here's mine
https://github.com/supremegamers/vendor_intel_proprietary_houdini/tree/wsa-13
Also fix this if you can:
https://github.com/supremegamers/vendor_intel_proprietary_houdini/issues/3
I found a free QEMU-based native bridge. https://github.com/goffioul/ax86-nb-qemu
So to a degree you can play on android 11 w/ Google Play Services and libhoundini below are some notes I had playing around with it.
Due to newer bluearchive only supporting arm64 testing was done with Blue Archive_1.60.260228.apk
Blue archive launches showing both the opening company logos(shown almost instantly on boot) and the login screen background. Though parts of it wont render or are just black. Even when BA was on this version(1.60.260228) you couldn't get past this as the app would just crash when you tapped/clicked.
NOTE: With the offical android SDK VM the same issue happens (8.1 Google Play Image used on a Pixel XL)
img of boot video showing logos
img with black graphics
Blue archives launches not showing the opening company logos or the login screen background. It also seems to take longer. Possibly due to errors with rendering the video/audio. You can play the game though(once you update to the newest apk) I've experienced crashes during battles as well as various other black screens like logins screen/boot video.
NOTE: With the offical android SDK VM it would freeze on BA boot (11 Google Play Image used on a Pixel XL)
img of boot video not showing anything
img with proper foreground but no background video
a8.txt - ActivityManager: Start proc 2154:com.nexon.bluearchive - line 1987 a11_nogp.txt (google play) - ActivityManager: Start proc 2567:com.nexon.bluearchive - line 6456 a11_nonRoot.txt - ActivityManager: Start proc 3423:com.nexon.bluearchive - line 6787 a11_root.txt - ActivityManager: Start proc 3423:com.nexon.bluearchive - line 5891
I was going to deep dive this more but it started eating into the little free time I have to do other things. I assume at least part of why Android 11 crashes might be due to the video bit as the game seems to use Cri Middleware a good amount. Didn't do any testing on BA JP
I have tried to manually place libhoudini i extracted from Bluestacks into system.img with the following build prop:
The result are the same, Blue Archive still crash on loading screen. So libhoudini is not the issue here (at least i think so)
EDIT: Almost forgot the crashlog: crash.txt
EDIT2: Looking closely at logcat, houdini identify itself to be version 11.0.1_z.51845.m and throw warning:
houdini : [2208] Warning (ID:0x0140064b).
Using Bliss-v14.10.1-x86_64-OFFICIAL-opengapps-20240226.iso which runs some version of android11. The game launches and can be played like genymotion android11. It also shows videos but is rendering not correctly. Tried the following options. Bliss OS freezes if you try to install it on the "installing grub" step. So Live CD was used. Should be the same results. Tried to use Bliss on an actual laptop but the laptop just turns off when Bliss completes boot.
Same results on Blue Archive_1.60.260228.apk and newest version Blue Archive_1.63.281025.apk (to bypass the "update now"). I didn't login to google play as since google play is install i just need it for the google play services.
Live CD PC-Mode (Intel) PC-MOde (Intel) w/ FFMPEG VM and other options... > QEMU/KVM - Virgl -SW-FFMPEG
Tested on Bliss 15 & 16, still crash.
EDIT: Can anyone take a look at where libhoudini crash? Im not quite cut it for the job
Using Bliss-v14.10.1-x86_64-OFFICIAL-opengapps-20240226.iso which runs some version of android11. The game launches and can be played like genymotion android11. It also shows videos but is rendering not correctly. Tried the following options. Bliss OS freezes if you try to install it on the "installing grub" step. So Live CD was used. Should be the same results. Tried to use Bliss on an actual laptop but the laptop just turns off when Bliss completes boot.
Same results on Blue Archive_1.60.260228.apk and newest version Blue Archive_1.63.281025.apk (to bypass the "update now"). I didn't login to google play as since google play is install i just need it for the google play services.
Live CD PC-Mode (Intel) PC-MOde (Intel) w/ FFMPEG VM and other options... > QEMU/KVM - Virgl -SW-FFMPEG
boot with CODEC2_LEVEL=0 OMX_NO_YUV420=1
....
It's working? how did you get it working?
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not)
Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not)
Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
This is very, very appreciated! Thank you!
In the spirit of not blindly trusting scripts on the internet, can you explain the patch and the magic numbers involved? What does this patch fix and how? How did you figure it out?
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not) Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
This is very, very appreciated! Thank you!
In the spirit of not blindly trusting scripts on the internet, can you explain the patch and the magic numbers involved? What does this patch fix and how? How did you figure it out?
The magic number are the hexes that are involved. The second hex is the original hex of the file. And the third hex is the replacement hex. (The first one is just the offset shown in ghidra) All of these patches are backported from mumu emulator.
EDIT: You can open the library before and after patch in Ghidra or any other Reverse Engineering tool to see which instruction changed and to what
EDIT2: Be wary though that 2 of these patches are mprotect related. Use it at your own risk. (I do not know to the fullest extent what does it adjust)
EDIT3: Here is what each patch does according to mumu:
Is there a fix for the garbled video and graphics on Waydroid? Someone above mentioned that there's some parameters you can use to force the game to output video properly, but I'm unsure if those apply to Waydroid, and if so, where to put them.
that was blissos on qemu with the garbled video/graphics, waydroid was just crashing - thats fixed with the script that was shared here earlier, the game works perfectly fine on waydroid after running it :)
that was blissos on qemu with the garbled video/graphics, waydroid was just crashing - thats fixed with the script that was shared here earlier, the game works perfectly fine on waydroid after running it :)
I mean, I just get corrupted graphics on Waydroid.
that was blissos on qemu with the garbled video/graphics, waydroid was just crashing - thats fixed with the script that was shared here earlier, the game works perfectly fine on waydroid after running it :)
Mine's refuses to launch can you please tell me how you did it?
that was blissos on qemu with the garbled video/graphics, waydroid was just crashing - thats fixed with the script that was shared here earlier, the game works perfectly fine on waydroid after running it :)
I mean, I just get corrupted graphics on Waydroid.
Okay, so from what I see after further investigation is that apparently this is a problem with dual-GPU setups. So I ran the script on my gaming laptop with a Ryzen 9 6900HX and RX 6850M XT. The iGPU selection does not work for me (Waydroid refuses to launch), but the dGPU does, which doesn't fix the graphical corruption issue. The issue is that when I attempt to use DRI_PRIME=1 before starting the Waydroid session, it causes everything to get corrupted and not just the game's rendering.
Anyone got any idea on how I can troubleshoot Waydroid not launching with an iGPU?
https://github.com/Quackdoc/waydroid-scripts/blob/main/waydroid-choose-gpu.sh
EDIT: Here's my logs when I attempt to use the iGPU as the primary card. For some reason, Waydroid only launches with the dGPU. https://gist.github.com/KingKrouch/63da636d3627d4b61073f6277a529d49
@aleasto close the issue, we're done here
@qwerty12356-wart your script fixes libhoudini and works amazingly, sadly libhoudini has abysmal performance on amd cpu's as it seems (blue archive runs snappy and fast on my intel cpu laptop), but my main pc has a amd cpu. is there any way we could possibly find a similar solution like that for libndk so that blue archive also becomes playable on waydroid on AMD cpus?
@Ruuototsu if the game doesent start at all, is your waydroid running properly? do you have libhoudini installed and patched?
your script fixes libhoudini and works amazingly, sadly libhoudini has abysmal performance on amd cpu's as it seems (blue archive runs snappy and fast on my intel cpu laptop), but my main pc has a amd cpu. is there any way we could possibly find a similar solution like that for libndk so that blue archive also becomes playable on waydroid on AMD cpus?
Yeah, this is probably a great idea to try and sort out, for those who don't have an Intel CPU. I don't think this should be closed until there's a solution for AMD CPUs. Maybe the solution for Intel CPUs should be pinned somehow.
@qwerty12356-wart do you mind sharing your fps with that libhoudini fix?
@herzblutnord Yes it's working properly since Arknight's running just fine and BA showed up on the playstore.
Okay I nuked the whole thing and did a fresh install and patched it again the issue still persists.
I already did the SD card permission shell command..dunno what else I am missing.
https://github.com/waydroid/waydroid/assets/124422692/153a295a-b5fc-41af-b733-bed007ad58be
@qwerty12356-wart do you mind sharing your fps with that libhoudini fix?
Smooth 50-60 FPS. Im on an Intel iGPU ( CPU is i3 6100U)
@qwerty12356-wart your script fixes libhoudini and works amazingly, sadly libhoudini has abysmal performance on amd cpu's as it seems (blue archive runs snappy and fast on my intel cpu laptop), but my main pc has a amd cpu. is there any way we could possibly find a similar solution like that for libndk so that blue archive also becomes playable on waydroid on AMD cpus?
@Ruuototsu if the game doesent start at all, is your waydroid running properly? do you have libhoudini installed and patched?
A libndk patch is unlikely since none of the major emulator uses it (so i don't have a reference point), it is also closed source and is way different from libhoudini
EDIT: I suspect that libndk also has the same issue with mprotect that make the Blue Archive anti cheat unable to do its job. But i dont have the source code or debug symbol so i cant patch it.
Okay I nuked the whole thing and did a fresh install and patched it again the issue still persists.
I already did the SD card permission shell command..dunno what else I am missing.
Crash.mp4
Instead of using the App icon in start menu to launch it. Try waydroid show-full-ui
then start the app from there. If it still crashing then try doing that with logcat to see which error is printed to log.
@qwerty12356-wart it's the same even if I use the show-full-ui BA_Logcat.txt here's the logcat I honestly have no idea what's causing it to crash from looking at it.
scripton.txt
Thank you. This script also fixes the Wuthering Waves crash.
It's a bummer that the mantis problem persists
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not)
Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not)
Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
can you adjust it for libndk?
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not) Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not) Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
can you adjust it for libndk?
No.
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not) Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
scripton.txt Here is a script to patch houdini to make it work with Blue Archive. Have fun. Deleted the last one because i found a critical error in the script (echo auto insert end line where it should not) Do not blindly trust and run script off of the Internet. Always check its content first, even from me.
can you adjust it for libndk?
No.
that sucks houdini isnt as fast
Describe the bug Blue Archive after login just crash trying to load the game at the loading screen.
General information (please complete the following information):
Desktop (please complete the following information):
Additional context Tried to set chmod in waydroid shell using this command but to no avail:
chmod 777 -R /sdcard/Android /data/media/0/{Android,Android/obb} /sdcard/Android/data /mnt/*/*/*/*/Android/{data,obb}
Arknights can also be found in Play Store after installing libndk, but cannot download from it, Blue archive download normally.Logs (please upload as file) note: changed the extension so that github stop complaining.
Prop file: waydroid.prop.log
Log file: waydroid.log
Full (not partial) output of
waydroid logcat
while Waydroid is running: debug.log