minicap icon indicating copy to clipboard operation
minicap copied to clipboard

LG G7 ThinQ update(android9-sdk28) issue. minicap aborted.

Open judin74 opened this issue 5 years ago • 54 comments

When you update the LG G7 ThinQ device, it will be upgraded from Android 8 to Android 9 (sdk 28).

Run minicap, The following log will be displayed and it Aborted. Issues seems to be "Vector<> have different types " of android::SurfaceComposerClient.

shell] adb shell LD_LIBRARY_PATH=/data/local/tmp/minicap-devel /data/local/tmp/minicap-devel/minicap -P 1440x3120@720x1560/0

INFO: Using projection 1440x3120@720x1560/0 INFO: (external/MY_minicap/src/minicap_28.cpp:241) Creating SurfaceComposerClient INFO: (external/MY_minicap/src/minicap_28.cpp:244) Performing SurfaceComposerClient init check INFO: (external/MY_minicap/src/minicap_28.cpp:255) Creating virtual display INFO: (external/MY_minicap/src/minicap_28.cpp:261) Creating buffer queue INFO: (external/MY_minicap/src/minicap_28.cpp:264) Setting buffer options INFO: (external/MY_minicap/src/minicap_28.cpp:268) Creating CPU consumer INFO: (external/MY_minicap/src/minicap_28.cpp:272) Creating frame waiter INFO: (external/MY_minicap/src/minicap_28.cpp:276) Publishing virtual display Vector<> have different types (this=0x7ffe25b480, rhs=0x7ffe25b5a0) Aborted

judin74 avatar Mar 26 '19 15:03 judin74

We are seeing similar issues with a LG G8 ThinQ, android9-sdk28.

2019-05-07T06:21:53.165Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Setting frame producer projection to 562x562 2019-05-07T06:21:53.166Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Requesting frame producer to start 2019-05-07T06:21:53.166Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Launching screen service 2019-05-07T06:21:53.553Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "PID: 32762" 2019-05-07T06:21:53.554Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: Using projection 720x1560@259x562/0" 2019-05-07T06:21:53.554Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:241) Creating SurfaceComposerClient" 2019-05-07T06:21:53.554Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:244) Performing SurfaceComposerClient init check" 2019-05-07T06:21:53.555Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:255) Creating virtual display" 2019-05-07T06:21:53.555Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:261) Creating buffer queue" 2019-05-07T06:21:53.556Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:264) Setting buffer options" 2019-05-07T06:21:53.557Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:268) Creating CPU consumer" 2019-05-07T06:21:53.557Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:272) Creating frame waiter" 2019-05-07T06:21:53.557Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "INFO: (external/MY_minicap/src/minicap_28.cpp:276) Publishing virtual display" 2019-05-07T06:21:53.557Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] minicap says: "Vector<> have different types (this=0x7fc7e0d140, rhs=0x7fc7e0d260)" 2019-05-07T06:21:53.558Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Connecting to minicap service 2019-05-07T06:21:53.634Z WRN/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Shell keeping minicap running ended unexpectedly 2019-05-07T06:21:56.789Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Disconnecting from minicap service 2019-05-07T06:21:56.790Z INF/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Stopping minicap service 2019-05-07T06:21:56.791Z FTL/device:plugins:screen:stream 1938 [LMG820UM4399f6d1] Frame producer had an error FailError: Failure: 'closed' at /usr/lib/node_modules/stf/node_modules/adbkit/lib/adb/parser.js:183:29 at runCallback (timers.js:810:20) at tryOnImmediate (timers.js:768:5) at processImmediate [as _immediateCallback] (timers.js:745:5) 2019-05-07T06:21:56.791Z FTL/util:lifecycle 1938 [LMG820UM4399f6d1] Shutting down due to fatal error 2019-05-07T06:21:56.798Z INF/provider 22228 [] Cleaning up device worker "LMG820UM4399f6d1" 2019-05-07T06:21:56.798Z ERR/provider 22228 [] Device worker "LMG820UM4399f6d1" died with code 1 2019-05-07T06:21:56.798Z INF/provider 22228 [*] Restarting device worker "LMG820UM4399f6d1"

alanrigele avatar May 07 '19 06:05 alanrigele

We don’t have that device, so there isn’t much we can do. If your company is able to donate one unit to us (or cover the purchase), we may be able to do something.

sorccu avatar May 07 '19 09:05 sorccu

$ adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@1440x2560/0 -t PID: 2479 INFO: Using projection 1440x2560@1440x2560/0 INFO: (external/MY_minicap/src/minicap_28.cpp:241) Creating SurfaceComposerClient INFO: (external/MY_minicap/src/minicap_28.cpp:244) Performing SurfaceComposerClient init check INFO: (external/MY_minicap/src/minicap_28.cpp:255) Creating virtual display INFO: (external/MY_minicap/src/minicap_28.cpp:261) Creating buffer queue INFO: (external/MY_minicap/src/minicap_28.cpp:264) Setting buffer options INFO: (external/MY_minicap/src/minicap_28.cpp:268) Creating CPU consumer INFO: (external/MY_minicap/src/minicap_28.cpp:272) Creating frame waiter INFO: (external/MY_minicap/src/minicap_28.cpp:276) Publishing virtual display Vector<> have different types (this=0x7fc7d7f700, rhs=0x7fc7d7f820) Aborted

I alse have this problem, but there is no problem at beginning, after some days it happened, the devices is XIAOMI MI_8 Android 9 (sdk 28)

damonmonkey avatar Jul 11 '19 09:07 damonmonkey

Mostly this is happening with all the LG devices. I have tried 6 LG devices and All having the same issue. Common thing is All having android 9 Version. LM-X420 LM-G850 LM-Q720 LG V30 plus and LG-Thinq . INFO: (external/MY_minicap/src/minicaps_28.cpp:241) Creating SurfaceComposerClient INFO: (external/MY_minicap/src/minicap_28.cpp: 244) Performing surfaceComposercitent init check INFO: (external/MY_minicap/src/minicap_28.cpp:255) Creating virtual display INFO: (external/MY_minicap/src/minicap_28.cpp:261) Creating butter queue INFO: (external/MY_minicap/src/minicap_28.cpp:264) Setting buffer options INFO: (external/MY_minicap/src/minicap_28.cpp:268) Creating CPU Consumer INFO: (external/MY_minicap/src/minicap_28.cpp:272) Creating frame waiter INFO: (external/MY_minicap/src/minicap_28.cpp: 276) Publishing virtual display Vector have different types (this=0x7feb6ade40, rhs=0x7feb6adf60) I am trying to figure out what the issue is? I have downloaded android 9 aosp. if I got something, will post here I think it seems to be "Vector<> have different types " SurfaceComposerClient. Here is the error which occurred at run time in aosp https://android.googlesource.com/platform/frameworks/native/+/jb-dev/libs/utils/VectorImpl.cpp

@sorccu Can you give some suggestions so that we can resolve this?

varundtsfi avatar Aug 28 '19 18:08 varundtsfi

@sorccu do you need to have the devices physically on hand or would remote adb access work?

entomber avatar Oct 11 '19 21:10 entomber

I've observed this issue as well on the following LG devices when Android 9 is either preloaded or installed as an update:

LM-G850 LM-X320 LM-X420 LM-G820

As @varundtsfi observed, this appears to be an LG + Android 9 thing. My devices also show the vector errors like the one below:

minicap says: "Vector have different types (this=0x7feba9fda0, rhs=0x7feba9fec0)"

quangola avatar Oct 16 '19 16:10 quangola

@sorccu My team would like to donate a device to help resolve this issue. We've tried reaching out to [email protected] to get shipping details, but have received no response.

quangola avatar Oct 28 '19 13:10 quangola

Hi @quangola Do you have any update on this issue

varunkumarct avatar Nov 26 '19 15:11 varunkumarct

Hi @sorccu Can I donate a device or pay for dev costs to get this sorted, please send me a PM so I can get the ball rolling regards

man4567890 avatar Dec 09 '19 07:12 man4567890

Hi @quangola Do you have any update on this issue

Nope, haven't heard a thing. We've got a device to donate, but haven't got word back on where to send it.

quangola avatar Dec 09 '19 13:12 quangola

@varundtsfi I managed to get a G6 running Android 9 and can now reproduce this issue. Will try to identify the root cause. ... Looks like they somehow made slight changes in libgui.so compared to AOSP. This leads to using type definitions in minicap-shared with different size (or something like this). I managed to make it work by putting and preloading on the device the libgui.so compiled from corresponding AOSP branch. I doubt this could be a proper fix but it is a start.

pcrepieux avatar Jan 08 '20 08:01 pcrepieux

Hi @pcrepieux
Sorry for the delay. I don't have LG G6 right now but I will buy this asap. Right Now I have LG G7 Thinq running on Android 9. Model Number: LMG710EMW LG G7 thinq

And Getting the below error. Vector<> have different types (this=0x7fc7d7f700, rhs=0x7fc7d7f820)

varundtsfi avatar Jan 17 '20 06:01 varundtsfi

@varundtsfi Maybe you could give a try to the approach I have experimented with my G6 on your G7. Will post the lib if it can help you. My main concern is that I don't know how to integrate this workaround smoothly.

pcrepieux avatar Jan 17 '20 07:01 pcrepieux

Hi @pcrepieux Please share the lib. I will try on my G7 device and share the results with you

varundtsfi avatar Jan 20 '20 07:01 varundtsfi

Hi @varundtsfi Here is the minicap.so I successfully tested on my G6 (API level 28). To overcome the different Vector types issue, the AOSP libgui (Apache v2) has been statically compiled and merged in minicap.so (that's why it is much bigger). To test it, you will have to replace prebuilt/arm64-v8a/lib/android-28/minicap.so with this file.

pcrepieux avatar Jan 20 '20 09:01 pcrepieux

@varundtsfi and @pcrepieux:

I tested this new minicap on two versions of the G8 ThinQ (LM-G820 and LM-G850). So far, seems to work great. I didn't have any success on a LM-X320 or LM-X420; but it looks like these are arm-v7 so they don't appear to use the new library.

quangola avatar Jan 20 '20 14:01 quangola

@pcrepieux could you please share the minicap.so (arm64-v8a) for android 10?

chenchen5000 avatar Jan 22 '20 07:01 chenchen5000

@pcrepieux could you please share the minicap.so (arm64-v8a) for android 10?

Hi @chenchen5000 Please take the binaries from here. https://github.com/varundtsfi/MinicapBinaries/tree/master/aosp/android-29

varundtsfi avatar Jan 24 '20 07:01 varundtsfi

Hi @pcrepieux
This minicap-libgui.so file is working for LG G7 Thinq LM-G710 . It's my personal Device.

LG G7 Thinq

I have one doubt the same library is for LG but for **Xiaomi Redmi 7 Note Pro ** [ro.product.vendor.model]: [Redmi Note 7 Pro] screen is coming black. Might be some minor issue Even I can perform actions over the black screen and its happening on real devices on minicap-libgui.so is not giving actual screen. RedMi Note 7 Pro But your help is really appreciated sir. Thanks a lot for your valuable information. I want to do it(mincap-libgui.so) changes on my local also can you share that project. so that for Xiaomi Redmi Note 7 Pro I will try to fix. I mean, I want to understand and learn what exactly the issue was. As earlier you have mentioned that Manufacture might have changed something inside the libgui.so library.

varundtsfi avatar Jan 24 '20 08:01 varundtsfi

@varundtsfi sorry for the mistake, i meant the new minicap.so with libgui.a (minicap-libgui.so) for android 10. I want to test on the device: Redmi K20 Pro(MIUI 11.0.2), Android 10 because minicap crashes with the same error as LG devices have. It's very appreciated if you can provide that library.

chenchen5000 avatar Jan 31 '20 03:01 chenchen5000

Hi @chenchen5000

Xiaomi MIUI 11 having some issue but LG got fixed by @pcrepieux.

I have Xiaomi Redmi Note 7 Pro with android 9 having MIUI 11.0.6.0 in which its working but screen capture as black. But I don't have android 10(Xiaomi) devices and One more thing if you tried any device having MIUI 11 you will get the same error.

Have you tried android 10 binaries in your device? is yes what was the output?

varundtsfi avatar Jan 31 '20 13:01 varundtsfi

@varundtsfi Yes, I ran minicap on Redmi K20 Pro(android 10, MIUI 11.0.2), minicap crashes with the error:

Vector<> have different types (this=0x......, rhs=0x......) Aborted

The same minicap can run on other devices(e.g. huawei device) with android 10.

chenchen5000 avatar Feb 03 '20 03:02 chenchen5000

@varundtsfi I managed to get a G6 running Android 9 and can now reproduce this issue. Will try to identify the root cause. ... Looks like they somehow made slight changes in libgui.so compared to AOSP. This leads to using type definitions in minicap-shared with different size (or something like this). I managed to make it work by putting and preloading on the device the libgui.so compiled from corresponding AOSP branch. I doubt this could be a proper fix but it is a start.

Hi @pcrepieux

Hi @varundtsfi Here is the minicap.so I successfully tested on my G6 (API level 28). To overcome the different Vector types issue, the AOSP libgui (Apache v2) has been statically compiled and merged in minicap.so (that's why it is much bigger). To test it, you will have to replace prebuilt/arm64-v8a/lib/android-28/minicap.so with this file.

Hi @pcrepieux

I have tried on LG device working smoothly but on G8 its not working. You have mentioned that To Overcome the different vector types issue, AOSP libgui has been statically compiled and merged in minicap.so.

Can you please tell us what changes you have done and in which file of A0SP so that we can also try for other architectures(armeabi-v7a)

Ethan-2013 avatar Feb 05 '20 07:02 Ethan-2013

@Ethan-2013 Sure, will post instruction shortly (didn't find the time to do it earlier...). That's basically adding a cc_library_static block in libgui's Android.bp file and a few change in minicap-shared Makefile. More or less... stay tuned. Sorry for the delay. ... Here you are.

  • in $AOSP/frameworks/native/libs/gui/Android.bp
    • make a copy of the cc_library_shared block and change cc_library_shared to cc_library_static
    • give it another name ... like libgui_s
  • in $MINICAP/jni/minicap-shared/aosp/Android.mk
  • Compile minicap-shared

I only tested on android 9, so you might have to adjust a few things to have it working on Android 10.

pcrepieux avatar Feb 05 '20 21:02 pcrepieux

Hi @pcrepieux , I updated stf with the newest git release from https://github.com/Orange-OpenSource/stf, I think the minicap issue is solved, but I'm getting minitouch errors, see below please

2020-02-11T09:03:49.419Z FTL/device:plugins:screen:stream 14563 [LMX420ZD6PNB9P9PHI] Frame producer had an error FailError: Failure: 'closed'
    at /usr/lib/node_modules/stf/node_modules/adbkit/lib/adb/parser.js:183:29
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)
    at processImmediate [as _immediateCallback] (timers.js:745:5)
2020-02-11T09:03:49.420Z FTL/util:lifecycle 14563 [LMX420ZD6PNB9P9PHI] Shutting down due to fatal error
2020-02-11T09:03:49.433Z INF/provider 8083 [*] Cleaning up device worker "LMX420ZD6PNB9P9PHI"
2020-02-11T09:03:49.433Z ERR/provider 8083 [*] Device worker "LMX420ZD6PNB9P9PHI" died with code 1
2020-02-11T09:03:49.433Z INF/provider 8083 [*] Restarting device worker "LMX420ZD6PNB9P9PHI"
2020-02-11T09:03:50.435Z INF/device:support:push 20440 [LMX420ZD6PNB9P9PHI] Sending output to "tcp://127.0.0.1:7116"
2020-02-11T09:03:50.442Z INF/device 20440 [LMX420ZD6PNB9P9PHI] Preparing device
2020-02-11T09:03:51.022Z INF/device:support:sub 20440 [LMX420ZD6PNB9P9PHI] Receiving input from "tcp://127.0.0.1:7114"
2020-02-11T09:03:51.023Z INF/device:support:sub 20440 [LMX420ZD6PNB9P9PHI] Subscribing to permanent channel "*ALL"
2020-02-11T09:03:51.094Z INF/device:support:properties 20440 [LMX420ZD6PNB9P9PHI] Loading properties
2020-02-11T09:03:51.209Z INF/device:support:sdk 20440 [LMX420ZD6PNB9P9PHI] Supports SDK 28
2020-02-11T09:03:51.209Z INF/device:support:abi 20440 [LMX420ZD6PNB9P9PHI] Supports ABIs armeabi-v7a, armeabi
2020-02-11T09:03:51.655Z INF/device:resources:minicap 20440 [LMX420ZD6PNB9P9PHI] Installing "/usr/lib/node_modules/stf/node_modules/minicap-prebuilt/prebuilt/armeabi-v7a/bin/minicap" as "/data/local/tmp/minicap"
2020-02-11T09:03:51.656Z INF/device:resources:minicap 20440 [LMX420ZD6PNB9P9PHI] Installing "/usr/lib/node_modules/stf/node_modules/minicap-prebuilt/prebuilt/armeabi-v7a/lib/android-28/minicap.so" as "/data/local/tmp/minicap.so"
2020-02-11T09:03:51.816Z INF/device:resources:service 20440 [LMX420ZD6PNB9P9PHI] Checking whether we need to install STFService
2020-02-11T09:03:51.919Z INF/device:resources:service 20440 [LMX420ZD6PNB9P9PHI] Running version check
2020-02-11T09:03:52.629Z INF/device:resources:service 20440 [LMX420ZD6PNB9P9PHI] STFService up to date
2020-02-11T09:03:52.634Z INF/device:plugins:service 20440 [LMX420ZD6PNB9P9PHI] Launching agent
2020-02-11T09:03:53.882Z INF/device:plugins:service 20440 [LMX420ZD6PNB9P9PHI] Launching service
2020-02-11T09:03:53.883Z INF/device:plugins:service 20440 [LMX420ZD6PNB9P9PHI] using 'start-foreground-service' command for API 28
2020-02-11T09:03:53.942Z INF/device:plugins:service 20440 [LMX420ZD6PNB9P9PHI] Agent says: "Listening on @stfagent"
2020-02-11T09:03:53.946Z INF/device:plugins:service 20440 [LMX420ZD6PNB9P9PHI] Agent says: "InputClient started"
2020-02-11T09:03:54.001Z INF/device:plugins:display 20440 [LMX420ZD6PNB9P9PHI] Reading display info
2020-02-11T09:03:54.054Z INF/device:plugins:phone 20440 [LMX420ZD6PNB9P9PHI] Fetching phone info
2020-02-11T09:03:54.083Z INF/device:plugins:identity 20440 [LMX420ZD6PNB9P9PHI] Solving identity
2020-02-11T09:03:54.094Z INF/device:plugins:solo 20440 [LMX420ZD6PNB9P9PHI] Subscribing to permanent channel "nd66x8UCSNGrUP/+EhJwq7iwpxo="
2020-02-11T09:03:54.098Z INF/device:plugins:screen:stream 20440 [LMX420ZD6PNB9P9PHI] Starting WebSocket server on port 7448
2020-02-11T09:03:54.543Z INF/device:resources:minitouch 20440 [LMX420ZD6PNB9P9PHI] Installing "/usr/lib/node_modules/stf/node_modules/minitouch-prebuilt/prebuilt/armeabi-v7a/bin/minitouch" as "/data/local/tmp/minitouch"
2020-02-11T09:03:54.619Z WRN/device:plugins:data 20440 [LMX420ZD6PNB9P9PHI] Unable to find device data { serial: 'LMX420ZD6PNB9P9PHI',
  platform: 'Android',
  manufacturer: 'LGE',
  operator: null,
  model: 'LM-X420',
  version: '9',
  abi: 'armeabi-v7a',
  sdk: '28',
  product: 'mmh4_f',
  cpuPlatform: 'mt6765',
  openGLESVersion: '3.2',
  marketName: 'LM-X420',
  display: 
   { id: 0,
     width: 720,
     height: 1440,
     xdpi: 281.3529968261719,
     ydpi: 281.3529968261719,
     fps: 60.68000030517578,
     density: 1.75,
     rotation: 0,
     secure: true,
     size: 5.722238476082536,
     url: 'ws://172.28.200.168:7448' },
  phone: { network: 'UNKNOWN' } }
2020-02-11T09:03:54.631Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] Touch origin is top left
2020-02-11T09:03:54.633Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] Requesting touch consumer to start
2020-02-11T09:03:54.635Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] Launching touch service
2020-02-11T09:03:54.648Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] Connecting to minitouch service
2020-02-11T09:03:54.693Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] minitouch says: "Note: device /dev/input/mice is not supported by libevdev"
2020-02-11T09:03:54.694Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] minitouch says: "Type B touch device touch_dev (719x1439 with 10 contacts) detected on /dev/input/event2 (score 22026)"
2020-02-11T09:03:54.804Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] Reading minitouch banner
2020-02-11T09:03:54.843Z INF/device:plugins:touch 20440 [LMX420ZD6PNB9P9PHI] minitouch says: "Connection established"
2020-02-11T09:03:54.859Z INF/device:plugins:vnc 20440 [LMX420ZD6PNB9P9PHI] Starting VNC server on port 7450
2020-02-11T09:03:54.864Z INF/device:plugins:browser 20440 [LMX420ZD6PNB9P9PHI] Loading browser list
2020-02-11T09:03:54.891Z INF/device:plugins:browser 20440 [LMX420ZD6PNB9P9PHI] Updating browser list
2020-02-11T09:03:54.899Z INF/device:plugins:mute 20440 [LMX420ZD6PNB9P9PHI] Will not mute master volume
2020-02-11T09:03:55.355Z INF/device:resources:minirev 20440 [LMX420ZD6PNB9P9PHI] Installing "/usr/lib/node_modules/stf/vendor/minirev/armeabi-v7a/minirev" as "/data/local/tmp/minirev"
2020-02-11T09:03:55.434Z INF/device:plugins:forward 20440 [LMX420ZD6PNB9P9PHI] Launching reverse port forwarding service
2020-02-11T09:03:55.445Z INF/device:plugins:forward 20440 [LMX420ZD6PNB9P9PHI] Connecting to reverse port forwarding service
2020-02-11T09:03:55.608Z INF/device 20440 [LMX420ZD6PNB9P9PHI] Fully operational

In STF gui it comes up, but as soon as you click on the phone, you get device was disconnected and someone stole the phone

Software info on the phone IMG_20200211_112009_2

Any suggestion please? Phone is a LG K40

man4567890 avatar Feb 11 '20 09:02 man4567890

I think the main problem could be the 32 bit and 64 bit issue as the minicap from

Hi @varundtsfi Here is the minicap.so I successfully tested on my G6 (API level 28). To overcome the different Vector types issue, the AOSP libgui (Apache v2) has been statically compiled and merged in minicap.so (that's why it is much bigger). To test it, you will have to replace prebuilt/arm64-v8a/lib/android-28/minicap.so with this file.

is 64 bit and the K40 that I have is 32 bit, it looks like? Or am I completely wrong?

platform: 'Android', manufacturer: 'LGE', operator: null, model: 'LM-X420', version: '9', abi: 'armeabi-v7a', sdk: '28', product: 'mmh4_f', cpuPlatform: 'mt6765', openGLESVersion: '3.2', marketName: 'LM-X420', display: { id: 0, width: 720, height: 1440, xdpi: 281.3529968261719, ydpi: 281.3529968261719, fps: 60.68000030517578, density: 1.75, rotation: 0, secure: true, size: 5.722238476082536, url: 'ws://172.28.200.168:7572' }, phone: { network: 'UNKNOWN' } }

Does anyone have a 32bit pre compiled minicap on SDK 28 for the LG please, if what I think is the problem, is correct?

man4567890 avatar Feb 11 '20 10:02 man4567890

Hi @man4567890
I don't have but If you can wait for one day then I can give it to you for 32 bit. One more thing I don't have a device for abi: 'armeabi-v7a', configuration so I can't test.

varundtsfi avatar Feb 11 '20 13:02 varundtsfi

Please will be much appreciated

On Tue, 11 Feb 2020, 15:57 Varun, [email protected] wrote:

Hi @man4567890 https://github.com/man4567890 I don't have but If you can wait for one day then I can give it to you for 32 bit. One more thing I don't have a device for abi: 'armeabi-v7a', configuration so I can't test.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openstf/minicap/issues/169?email_source=notifications&email_token=AMXKWZPZ7OBCG7XRHWSYZFLRCKVGPA5CNFSM4HBPGPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMP5KA#issuecomment-584646312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXKWZJGSAYPBEUQWMDYEBTRCKVGPANCNFSM4HBPGPIQ .

man4567890 avatar Feb 11 '20 14:02 man4567890

Hi @man4567890

I have build the android AOSP for armeabi-v7a. There are two minicap.so. As I already told you I don't have device to test physically. You have to test and share the results. Hope so those will work. Take those from here https://github.com/varundtsfi/VectorIssueLGXiaomi/tree/master/VectorIssue_libs/android-28/armeabi-v7a

varundtsfi avatar Feb 11 '20 20:02 varundtsfi

Hi @varundtsfi , THANKS so much, the minicap_1.so works fine for me, what is the difference between _1 and _2, must I try _2 as well?

man4567890 avatar Feb 12 '20 05:02 man4567890