MantisBT - VCMI
View Issue Details
0003176VCMIModspublic2021-04-04 17:462021-05-02 18:55
kdmcser 
 
normalmajoralways
newopen 
mobileAndroid11
0.99 
 
0003176: Android 11 load mods more slow than Android 10
In Android 11, Open 30+ mod is a disastor: a few minutes client can not launched. and 15 minutes later, the server can not start. The same mods in android 10 only take several seconds. Maybe Android 11 make files list more slow?
1. install 30+ mod
2. open game in Android 11
3. It take a few minutes to be a dark screen before play 3do start video
4. enter the game, create a new game
5. 15 minutes later, still hang in connect window.
6. reproduce it in Android 10, everything is OK.
No tags attached.
Issue History
2021-04-04 17:46kdmcserNew Issue
2021-04-07 08:17NullkillerNote Added: 0008026
2021-04-11 08:16kdmcserNote Added: 0008027
2021-04-11 08:17kdmcserNote Edited: 0008027bug_revision_view_page.php?bugnote_id=8027#r3637
2021-04-11 08:23kdmcserNote Edited: 0008027bug_revision_view_page.php?bugnote_id=8027#r3638
2021-05-02 12:26kdmcserNote Added: 0008028
2021-05-02 18:55kdmcserNote Edited: 0008028bug_revision_view_page.php?bugnote_id=8028#r3640

Notes
(0008026)
Nullkiller   
2021-04-07 08:17   
Any chance it is hardware difference?
(0008027)
kdmcser   
2021-04-11 08:16   
(edited on: 2021-04-11 08:23)
Android 11 is in my new phone, which CPU is Snapdragon 888,12G RAM and UFS 3.1 ROM. the performace is much better than my old Android 10 phone (Kirin 970, 6G RAM and UFS 2.1 ROM). So I dont thank hardware difference will cause it.

Android 11 contains storage peformance problem while list or delete lots of file. Because it change its storage mechanism. So I suspect this problem is caused by it.

Lots of new phone are using Android 11 now. Maybe someone who ownes Android 11 phone can check that whether it can be reproduced or not?

(0008028)
kdmcser   
2021-05-02 12:26   
(edited on: 2021-05-02 18:55)
By changing data dir to ctx.getDataDir can solve this problem. detail: https://forum.vcmi.eu/t/finally-i-solved-the-problem-that-mods-load-slow-in-android-11/5514 [^]