New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LG G7 ThinQ update(android9-sdk28) issue. minicap aborted. #169
Comments
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 |
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. |
$ adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@1440x2560/0 -t 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) |
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. @sorccu Can you give some suggestions so that we can resolve this? |
@sorccu do you need to have the devices physically on hand or would remote adb access work? |
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 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)" |
@sorccu My team would like to donate a device to help resolve this issue. We've tried reaching out to contact@openstf.io to get shipping details, but have received no response. |
Hi @quangola Do you have any update on this issue |
Hi @sorccu |
Nope, haven't heard a thing. We've got a device to donate, but haven't got word back on where to send it. |
@varundtsfi |
Hi @pcrepieux And Getting the below error. |
@varundtsfi |
Hi @pcrepieux |
Hi @varundtsfi |
@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. |
@pcrepieux could you please share the minicap.so (arm64-v8a) for android 10? |
Hi @chenchen5000 Please take the binaries from here. |
Hi @pcrepieux I have one doubt the same library is for LG but for **Xiaomi Redmi 7 Note Pro ** |
@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. |
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. Have you tried android 10 binaries in your device? is yes what was the output? |
@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......) The same minicap can run on other devices(e.g. huawei device) with android 10. |
Hi @pcrepieux
Hi @pcrepieux I have tried on LG device working smoothly but on G8 its not working. 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
I only tested on android 9, so you might have to adjust a few things to have it working on Android 10. |
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
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 Any suggestion please? Phone is a LG K40 |
I think the main problem could be the 32 bit and 64 bit issue as the minicap from
is 64 bit and the K40 that I have is 32 bit, it looks like? Or am I completely wrong? platform: 'Android', Does anyone have a 32bit pre compiled minicap on SDK 28 for the LG please, if what I think is the problem, is correct? |
Hi @man4567890 |
Actually you are getting the same error which you were getting in Android-SDK 28. Might be the solution for Android 9 will work for Android-10. I need to build AOSP for android 10 but again I don't have physical device to test. This will take time because My system is not so heavy and its normal system having 8 GB Ram. AOSP Build take around 8 to 9 hrs. You have to wait for @man4567890 |
Thanks so much @varundtsfi , I can test for you, I will wait |
Hi @varundtsfi , did you manage to build the Android 10 LG build, please? |
Thanks so much!
…On Sat, 15 Feb 2020, 06:26 Olivia26-2020, ***@***.***> wrote:
@man4567890 <https://github.com/man4567890> Actually no because I am
working on Xiaomi Device issue. That is some how people are stuck in.
Once done will inform you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#169?email_source=notifications&email_token=AMXKWZOAMMWGSD23MDX6RSTRC5VIVA5CNFSM4HBPGPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3BJZI#issuecomment-586552549>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMXKWZPKR6NHUAYEOUGN32DRC5VIVANCNFSM4HBPGPIQ>
.
|
@man4567890 Might be monday morning I can. |
Thanks so much
…On Sat, 15 Feb 2020, 15:06 Varun, ***@***.***> wrote:
@man4567890 <https://github.com/man4567890> Might be monday morning I can.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#169?email_source=notifications&email_token=AMXKWZNDF57BLLF4JYG2ITLRC7SFFA5CNFSM4HBPGPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3KDPI#issuecomment-586588605>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMXKWZM7AWBUUP6ZG54IAHDRC7SFFANCNFSM4HBPGPIQ>
.
|
@varundtsfi I try to build myself as pcrepieux told method. But meet many build errors. |
Hi @albertiniLiu and @man4567890 @albertiniLiu What is Mi10 Please provide the details like MIUI and Android version. Because its coming in MIUI 11 version devices only. |
hi @varundtsfi My Mi10 phone information hope it's enouch for your: |
Please send the required information as it unnecessary increasing the length. |
Already edit my message as you requested. |
Any update on this please?
…On Sat, 22 Feb 2020, 05:20 albertiniLiu, ***@***.***> wrote:
@varundtsfi <https://github.com/varundtsfi>
Already edit my message as you requested.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#169?email_source=notifications&email_token=AMXKWZPHHLSYJDU3Y7EWZXTRECKZPA5CNFSM4HBPGPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUVSFY#issuecomment-589912343>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMXKWZL6NZPAF2THRM6YQSDRECKZPANCNFSM4HBPGPIQ>
.
|
@varundtsfi do you have an ETA on this? Please, I'm in urgent need
On Thu, 27 Feb 2020, 14:35 Wynand Jansen Van Vuuren, <
man4@manmobilemachine.com> wrote:
… Any update on this please?
On Sat, 22 Feb 2020, 05:20 albertiniLiu, ***@***.***> wrote:
> @varundtsfi <https://github.com/varundtsfi>
>
> Already edit my message as you requested.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#169?email_source=notifications&email_token=AMXKWZPHHLSYJDU3Y7EWZXTRECKZPA5CNFSM4HBPGPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUVSFY#issuecomment-589912343>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AMXKWZL6NZPAF2THRM6YQSDRECKZPANCNFSM4HBPGPIQ>
> .
>
|
I have tried few fixes on android 10 for LG and Xiaomi devices but did not get any success.. so I don't have any ETA just HIT and Trial.. |
Thanks so much for the update
…On Wed, 04 Mar 2020, 16:43 Varun, ***@***.***> wrote:
I have tried few fixes on android 10 for LG and Xiaomi devices but did not
get any success.. so I don't have any ETA just HIT and Trial..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#169?email_source=notifications&email_token=AMXKWZPARHPQHRH2ZQ5WQJLRFZSK3A5CNFSM4HBPGPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENYFZPQ#issuecomment-594566334>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMXKWZP7WMXZKTSO2VXPZUDRFZSK3ANCNFSM4HBPGPIQ>
.
|
Seems there is a problem on the LG - LM-G820 with Android 10 as well, arm64-v8a, but it seems that it is minitouch that is complaining `2020-03-13T07:00:49.855Z INF/device:plugins:group 20905 [LMG820UMb681bd28] Subscribing to group channel "27wYow6vQ7KHx53MvmzFQw==" 2020-03-13T07:00:50.693Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Setting frame producer projection to 843x843 2020-03-13T07:00:50.693Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Requesting frame producer to start 2020-03-13T07:00:50.694Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Launching screen service 2020-03-13T07:00:50.814Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "PID: 30890" 2020-03-13T07:00:50.814Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: Using projection 1080x2340@389x843/0" 2020-03-13T07:00:50.814Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:241) Creating SurfaceComposerClient" 2020-03-13T07:00:50.815Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Connecting to minicap service 2020-03-13T07:00:50.817Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:244) Performing SurfaceComposerClient init check" 2020-03-13T07:00:50.817Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:255) Creating virtual display" 2020-03-13T07:00:50.817Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:261) Creating buffer queue" 2020-03-13T07:00:50.817Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:264) Setting buffer options" 2020-03-13T07:00:50.818Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:268) Creating CPU consumer" 2020-03-13T07:00:50.818Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:272) Creating frame waiter" 2020-03-13T07:00:50.819Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:276) Publishing virtual display" 2020-03-13T07:00:50.819Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "Vector<> have different types (this=0x7ff81d0190, rhs=0x7ff81d02e0)" 2020-03-13T07:00:50.961Z WRN/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Shell keeping minicap running ended unexpectedly 2020-03-13T07:00:52.611Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Disconnecting from minicap service 2020-03-13T07:00:52.612Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Stopping minicap service 2020-03-13T07:00:52.613Z FTL/device:plugins:screen:stream 20905 [LMG820UMb681bd28] Frame producer had an error FailError: Failure: 'closed'
2020-03-13T07:00:52.613Z FTL/util:lifecycle 20905 [LMG820UMb681bd28] Shutting down due to fatal error 2020-03-13T07:00:52.619Z INF/provider 17188 [*] Cleaning up device worker "LMG820UMb681bd28" 2020-03-13T07:00:52.620Z ERR/provider 17188 [*] Device worker "LMG820UMb681bd28" died with code 1 2020-03-13T07:00:52.620Z INF/provider 17188 [*] Restarting device worker "LMG820UMb681bd28" 2020-03-13T07:00:53.405Z INF/device:support:push 27538 [LMG820UMb681bd28] Sending output to "tcp://127.0.0.1:7116" 2020-03-13T07:00:53.408Z INF/device 27538 [LMG820UMb681bd28] Preparing device 2020-03-13T07:00:53.715Z INF/device:support:sub 27538 [LMG820UMb681bd28] Receiving input from "tcp://127.0.0.1:7114" 2020-03-13T07:00:53.716Z INF/device:support:sub 27538 [LMG820UMb681bd28] Subscribing to permanent channel "*ALL" 2020-03-13T07:00:53.815Z INF/device:support:properties 27538 [LMG820UMb681bd28] Loading properties 2020-03-13T07:00:53.909Z INF/device:support:sdk 27538 [LMG820UMb681bd28] Supports SDK 29 2020-03-13T07:00:53.909Z INF/device:support:abi 27538 [LMG820UMb681bd28] Supports ABIs arm64-v8a, armeabi-v7a, armeabi 2020-03-13T07:00:54.259Z INF/device:resources:minicap 27538 [LMG820UMb681bd28] Installing "/usr/lib/node_modules/stf/node_modules/minicap-prebuilt/prebuilt/arm64-v8a/bin/minicap" as "/data/local/tmp/minicap" 2020-03-13T07:00:54.260Z INF/device:resources:minicap 27538 [LMG820UMb681bd28] Installing "/usr/lib/node_modules/stf/node_modules/minicap-prebuilt/prebuilt/arm64-v8a/lib/android-29/minicap.so" as "/data/local/tmp/minicap.so" 2020-03-13T07:00:54.629Z INF/device:resources:service 27538 [LMG820UMb681bd28] Checking whether we need to install STFService 2020-03-13T07:00:54.719Z INF/device:resources:service 27538 [LMG820UMb681bd28] Running version check 2020-03-13T07:00:55.109Z INF/device:resources:service 27538 [LMG820UMb681bd28] STFService up to date 2020-03-13T07:00:55.110Z INF/device:plugins:service 27538 [LMG820UMb681bd28] Launching agent 2020-03-13T07:00:55.867Z INF/device:plugins:service 27538 [LMG820UMb681bd28] Agent says: "Starting minitouch agent" 2020-03-13T07:00:55.881Z INF/device:plugins:service 27538 [LMG820UMb681bd28] Agent says: "Listening on @stfagent" 2020-03-13T07:00:55.935Z INF/device:plugins:service 27538 [LMG820UMb681bd28] Launching service 2020-03-13T07:00:55.936Z INF/device:plugins:service 27538 [LMG820UMb681bd28] using 'start-foreground-service' command for API 29 2020-03-13T07:00:55.948Z INF/device:plugins:service 27538 [LMG820UMb681bd28] Agent says: "InputClient started" 2020-03-13T07:00:56.052Z INF/device:plugins:display 27538 [LMG820UMb681bd28] Reading display info 2020-03-13T07:00:56.101Z INF/device:plugins:phone 27538 [LMG820UMb681bd28] Fetching phone info 2020-03-13T07:00:56.139Z INF/device:plugins:identity 27538 [LMG820UMb681bd28] Solving identity 2020-03-13T07:00:56.139Z INF/device:plugins:solo 27538 [LMG820UMb681bd28] Subscribing to permanent channel "SnAEz7FrWHnEcjuAY/KjF3gPBNQ=" 2020-03-13T07:00:56.141Z INF/device:plugins:screen:stream 27538 [LMG820UMb681bd28] Starting WebSocket server on port 7488 2020-03-13T07:00:56.423Z INF/device:resources:minitouch 27538 [LMG820UMb681bd28] Installing "/usr/lib/node_modules/stf/node_modules/minitouch-prebuilt/prebuilt/arm64-v8a/bin/minitouch" as "/data/local/tmp/minitouch" 2020-03-13T07:00:56.636Z WRN/device:plugins:data 27538 [LMG820UMb681bd28] Unable to find device data { serial: 'LMG820UMb681bd28', platform: 'Android', 2020-03-13T07:00:56.639Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] Touch origin is top left 2020-03-13T07:00:56.640Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] Requesting touch consumer to start 2020-03-13T07:00:56.640Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] Launching touch service 2020-03-13T07:00:56.679Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] Connecting to minitouch service 2020-03-13T07:00:56.736Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "open: Permission denied" 2020-03-13T07:00:56.736Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event7 for inspectionopen: Permission denied" 2020-03-13T07:00:56.736Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event6 for inspectionopen: Permission denied" 2020-03-13T07:00:56.737Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event1 for inspectionopen: Permission denied" 2020-03-13T07:00:56.737Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied" 2020-03-13T07:00:56.737Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied" 2020-03-13T07:00:56.737Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/mice for inspectionopen: Permission denied" 2020-03-13T07:00:56.738Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied" 2020-03-13T07:00:56.738Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied" 2020-03-13T07:00:56.738Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event5 for inspectionUnable to find a suitable touch device" 2020-03-13T07:00:56.738Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "using Android InputManager" 2020-03-13T07:00:56.856Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] Reading minitouch banner 2020-03-13T07:00:56.898Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Connection established" 2020-03-13T07:00:56.904Z INF/device:plugins:vnc 27538 [LMG820UMb681bd28] Starting VNC server on port 7490 2020-03-13T07:00:56.906Z INF/device:plugins:browser 27538 [LMG820UMb681bd28] Loading browser list 2020-03-13T07:00:56.939Z INF/device:plugins:browser 27538 [LMG820UMb681bd28] Updating browser list 2020-03-13T07:00:56.939Z WRN/device:plugins:browser 27538 [LMG820UMb681bd28] Unmapped browser "com.airfind.deltabrowser" 2020-03-13T07:00:56.940Z INF/device:plugins:mute 27538 [LMG820UMb681bd28] Will not mute master volume 2020-03-13T07:00:57.223Z INF/device:resources:minirev 27538 [LMG820UMb681bd28] Installing "/usr/lib/node_modules/stf/vendor/minirev/arm64-v8a/minirev" as "/data/local/tmp/minirev" 2020-03-13T07:00:57.437Z INF/device:plugins:forward 27538 [LMG820UMb681bd28] Launching reverse port forwarding service 2020-03-13T07:00:57.478Z INF/device:plugins:forward 27538 [LMG820UMb681bd28] Connecting to reverse port forwarding service |
Hi @man4567890 You have two issue here:- 2020-03-13T07:00:50.819Z INF/device:plugins:screen:stream 20905 [LMG820UMb681bd28] minicap says: "Vector<> have different types (this=0x7ff81d0190, rhs=0x7ff81d02e0)" 2020-03-13T07:00:56.736Z INF/device:plugins:touch 27538 [LMG820UMb681bd28] minitouch says: "Unable to open device /dev/input/event7 for inspectionopen: Permission denied" In android 10 you cannot user third party libs for handling touch actions. second again the vector. This entire thread is discussing about the vector issue and still we are struggling for the solution. |
I also do this(modify Android 9.0 gui lib Android.bp ),after get libgui_s,when compile minicap but get error bleow: but libgui_s.a has generated, can you help me ~~~ |
@varundtsfi Have you solved the xiaomi api28 black screen issue? I have the same issue, and I will try to follow the build by aosp step.. |
It's still there and I haven't spent much time on it because I don't have Xiaomi device |
Hi @varundtsfi, I also have LG G7 Thinq running on Android 9. Model Number: LMG710EMW , could you explain to me the steps that you said to make the minicap work on your cell phone? I have no idea how to add the minicap to my cell phone. |
Have the similar device which is working fine. So what you want do you want Pre-compiled Binaries or Just the solution? If you need Pre-built binaries get these from here https://github.com/varundtsfi/Xiaomi_Vector_issue/tree/main/LG if you need solution perform the following steps:- in this file one int array uint8_t _dummy is there just change the current value to 8 and Build the code again. Sorry for the delay |
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
The text was updated successfully, but these errors were encountered: