Android. ERROR_COULD_NOT_MOUNT while mounting complex ciphered obb file

前端 未结 2 924
我寻月下人不归
我寻月下人不归 2021-02-10 05:13

I develop Android app, which uses ciphered obb file. This obb file consists of 3 files (I created it with jobb tool). On the most devices all is ok, but on the three devices the

2条回答
  •  别跟我提以往
    2021-02-10 06:10

    I find the reason for some obb file could not be mounted. There a random solt when make obb file, an hashkey generated by PBKDF2WithHmacSHA1. the hashkey from bytes convert to hex string has a bug. I submit a patch to project : platform/framwork/base.

    https://android-review.googlesource.com/#/c/230280/

    I modified the jobb tool. Add check the hashkey to skip the wrong key generated. Before the Android merge the patch, you can use this patch. This patch also fix the dump files bug.

    https://android-review.googlesource.com/#/c/231431/

提交回复
热议问题