google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.97k stars 1.22k forks source link

P20 Pro not recognizing surfaces #585

Closed Kinghoff closed 3 years ago

Kinghoff commented 6 years ago

I'm using a Huawei P20 Pro and it's not recognizing any surfaces. I've downloaded the AR Core App from the Play Store and built the example scene in multiple Unity versions. Other apps like the Porsche Mission E Demo don't work either. Is there some kind of workaround or fix in the making? Please let me know soon :)

Wierka85 commented 5 years ago

Model: CLT-L29 (Huawei P20 Pro) Gra: Pokemon Go, jak włączam AR+ to aplikacja się zawiesza. Nie działa nic co ma tryb rozszerzonej rzeczywistości nie działa. Niby wspieracie ten model a to kłamstwo. Pokazuje się czarna kamera. Jak czytam i słyszę większość ma ten sam problem.

Wandrer commented 5 years ago

I'm one of these people where it works and then there is someone in one of my communities where it doesn't.

I'm on Android 9.0.0.195 C432 as this person too.

I'm using a Vodafone firmware 9.0.0.5(CT.F01) if this helps. I also did disable Google Instant Play the moment it was released. I'm using the SingleSIM version CLT-L09C432. ARCORE works at least in Pokémon GO, Our World and Google Measure, those i tried before. Is there a way to find out or to send diagnostics data, to find out why some devices work and others don't?

Raerion commented 5 years ago

On my brand new P20 Pro ARCore does not work, too. Strange that it works for some people.

I’m using the Dual SIM Version CLT-L29 with Build 9.0.0.195(C432E5R1P9) with a provider package from Telekom Germany DT.DEU 9.0.0.5(CT.F01). ARCore was actually included in the update to EMUI 9 and was updated via PlayStore to 1.7.190128066.

Tested apps: Google Measure throws an “Unknown ARCore error (Unavailable-DeviceNotCompatibleException)”, Grymala AR Plan 3D quits with “This device does not support AR” and Niantic Pokemon Go just crashes with a black screen.

@inio Could you please provide a status update? Is this issue still under investigation? Since the error messages indicate compatibility errors - is it possible that not every possible P20 Pro device/firmware version has been enabled or re-enabled after the temporarily disabled access in Nov 18?

Wandrer commented 5 years ago

Could it be that L09 the SingleSIM does work and L29 the DualSIM not?

Maybe only the SingleSIM was added to the compatibility list or DB, but not the other device versions. At least for the black screen issue.

SalvatoreMeschini commented 5 years ago

Could it be that L09 the SingleSIM does work and L29 the DualSIM not?

Maybe only the SingleSIM was added to the compatibility list or DB, but not the other device versions. At least for the black screen issue.

It might be... I confirm that on my:

Model: CLT-L29 (Huawei P20 Pro) Build number: 9.0.0.195 (C432E5R1P9) GPU TURBO AR Core: 1.7.190128066

does NOT work:

The device is DUAL SIM.

joensaar commented 5 years ago

@SalvatoreMeschini I have the EXACT same configuration. Works normally.

SalvatoreMeschini commented 5 years ago

@SalvatoreMeschini I have the EXACT same configuration. Works normally.

Which region? Not sure if that's relevant, but it looks like all the other users with CLT-L29 are less lucky.

joensaar commented 5 years ago

@SalvatoreMeschini It's CLT-L29 C432.

diogoalexsmachado commented 5 years ago

@SalvatoreMeschini It's CLT-L29 C432.

same as mine

karlsad commented 5 years ago

My p20 pro seem to be working correctly, I use the newest available version of ARcore. My phone: CLT-L29, Version 9.0.0.163(C432E5R1P9) Android version 9

Den mån 25 feb. 2019 kl 13:48 skrev Diogo Machado <notifications@github.com

:

@SalvatoreMeschini https://github.com/SalvatoreMeschini It's CLT-L29 C432.

same as mine

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google-ar/arcore-android-sdk/issues/585#issuecomment-466998801, or mute the thread https://github.com/notifications/unsubscribe-auth/ApCiCzXzYljntpqpFXVbpkE0OBiMBqUKks5vQ9uUgaJpZM4W-fdy .

ilias-uoc commented 5 years ago

My p20 pro seem to be working correctly, I use the newest available version of ARcore. My phone: CLT-L29, Version 9.0.0.163(C432E5R1P9) Android version 9 Den mån 25 feb. 2019 kl 13:48 skrev Diogo Machado <notifications@github.com : @SalvatoreMeschini https://github.com/SalvatoreMeschini It's CLT-L29 C432. same as mine — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#585 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ApCiCzXzYljntpqpFXVbpkE0OBiMBqUKks5vQ9uUgaJpZM4W-fdy .

Maybe that's the issue. It does not work for the CLT-L29, version 9.0.0.195(C432E5R1P9) phones.

nathanb3 commented 5 years ago

Not working on CLT-L04 9.0.0.178.

diogoalexsmachado commented 5 years ago

just updated to 9.0.0.195(C432E5R1P9) on my P20 Pro (CLT-L29) and it is still not working.

Wandrer commented 5 years ago

@diogoalexsmachado: Could you reset the ARCORE app cache?

diogoalexsmachado commented 5 years ago

@diogoalexsmachado: Could you reset the ARCORE app cache?

Yes I did. I even downgraded and re-updated the app from Play Store

karlsad commented 5 years ago

Working fine on my P20 Pro, same update as you. Very strange...

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virusfritt. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Den tis 26 feb. 2019 kl 13:21 skrev Diogo Machado <notifications@github.com

:

just updated to 9.0.0.195(C432E5R1P9) on my P20 Pro (CLT-L29) and it is still not working.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google-ar/arcore-android-sdk/issues/585#issuecomment-467417516, or mute the thread https://github.com/notifications/unsubscribe-auth/ApCiC-m5DOji-djr0es_v9OyA2l_a2Tnks5vRSa5gaJpZM4W-fdy .

SalvatoreMeschini commented 5 years ago

Working fine on my P20 Pro, same update as you. Very strange...

Could you please go to Settings -->System --> Phone info (first entry) and provide here the following information:

?

karlsad commented 5 years ago

Model - CLT-L29

Version - 9.0.0.195(C432E5R1P9)

Got android version 9

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virusfritt. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Den tors 28 feb. 2019 kl 10:05 skrev Salvatore Meschini < notifications@github.com>:

Working fine on my P20 Pro, same update as you. Very strange...

Could you please go to Settings -->System --> Phone info (first entry) and provide here the following information:

  • Model
  • Build number

?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google-ar/arcore-android-sdk/issues/585#issuecomment-468193738, or mute the thread https://github.com/notifications/unsubscribe-auth/ApCiC56cSsSLloxfmaBPDq2lN_p7gQW9ks5vR5vwgaJpZM4W-fdy .

SalvatoreMeschini commented 5 years ago

This is what I found in my Logcat:

02-28 11:56:07.393 I/native (19540): device_profile_database_helpers.cc:419 Found nothing for UUpC5W 02-28 11:56:07.393 I/native (19540): device_profile_database_helpers.cc:419 Found nothing for CLT-L29/HWCLT_accelerometer-lsm6dsm_OFILM 02-28 11:56:07.393 I/native (19540): device_profile_database_helpers.cc:419 Found nothing for J1ASAV 02-28 11:56:07.393 I/native (19540): device_profile_database_helpers.cc:419 Found nothing for HWCLT_accelerometer-lsm6dsm_OFILM 02-28 11:56:07.393 I/native (19540): device_profile_database_helpers.cc:419 Found nothing for ioG7OZ 02-28 11:56:07.393 I/native (19540): device_profile_database_helpers.cc:419 Found nothing for CLT-L29 02-28 11:56:07.393 I/native (19540): device_profile_database_helpers.cc:421 Could not locate device profile for HUAWEI/CLT-L29/HWCLT_accelerometer-lsm6dsm_OFILM:9/HUAWEICLT-L29/195C432R1:user/release-keys 02-28 11:56:07.393 E/native (19540): calibration_jni.cc:184 No device profile available for build fingerprint HUAWEI/CLT-L29/HWCLT_accelerometer-lsm6dsm_OFILM:9/HUAWEICLT-L29/195C432R1:user/release-keys 02-28 11:56:07.395 E/native (19487): session_create_implementation_shared.cc:870 Unable to obtain device profile from the content provider: generic::not_found: Device is not supported. 02-28 11:56:07.395 E/native (19487): session_create_implementation.cc:108 Failed to create calibration provider. 02-28 11:56:07.395 W/native (19487): session_create_implementation.cc:109 ArSession_createWithSettingsImplementation_private returning ArStatusErrorSpace::AR_UNAVAILABLE_DEVICE_NOT_COMPATIBLE: .

rgm00003 commented 5 years ago

Hello. I have a p20 pro CLT-L09, latest compilation number 9.0.0.210 and I have the problem, AR not working.

Raerion commented 5 years ago

Just received an update for ARCore (1.7.190128146). It doesn't fix this issue, device is still registered as incompatible.

SalvatoreMeschini commented 5 years ago

The device build fingerprint is: HUAWEI/CLT-L29/HWCLT:9/HUAWEICLT-L29/195C432R1:user/release-keys

But in the logcat I found the following entry:

No device profile available for build fingerprint HUAWEI/CLT-L29/HWCLT_accelerometer-lsm6dsm_OFILM:9/HUAWEICLT-L29/195C432R1:user/release-keys

Is this inconsistency causing the AR_UNAVAILABLE_DEVICE_NOT_COMPATIBLE error?

Maeihra commented 5 years ago

Hello. I've tried to use Google Measure app with my p20pro but it showed the "Unknown ARCore error (Unavailable-DeviceNotCompatibleException)." message. Unhappy with this result I contacted another p20pro user. Measure is working fine on his phone.

The difference between these two phones is the accelerometer/gyroscope sensor.

The working phone uses the lsm6dsm. My phones uses the icm20690.

Wandrer commented 5 years ago

The friend of mine has the same ICM20690.

It seems it's a whitelisting problem at all, as this sensor is not whitelisted.

Will this require an update or is the compatibility DB an online feature only cached offline?

nathanb3 commented 5 years ago

@inio Any update on this? There seems to be a lot of people now with the same issue.

Thanks.

Raerion commented 5 years ago

I can confirm the issue with the ICM20690 accelerometer/gyroscope. My device is also using this sensor. Thanks @SalvatoreMeschini for pointing this out!

dementia2029 commented 5 years ago

Same here. I have ICM20690 accelerometer/gyroscope. @inio Would you kindly tell us any info?

SalvatoreMeschini commented 5 years ago

The difference between these two phones is the accelerometer/gyroscope sensor. The working phone uses the lsm6dsm. My phones uses the icm20690.

It is not working on my P20 Pro and accelerometer/gyroscope sensors are both lsm6dsm.

This is what I can see in my logs: No device profile available for build fingerprint HUAWEI/CLT-L29/HWCLT_accelerometer-lsm6dsm_OFILM:9/HUAWEICLT-L29/195C432R1:user/release-keys

Wandrer commented 5 years ago

Could some dev tell us which P20 Pro versions with which gyros do have a profile?

dementia2029 commented 5 years ago

I am so indignant of Google support

joensaar commented 5 years ago

The guys at Mountain View could definitely give some kind of response, but I wouldn't go pointing fingers at them because of this issue. Huawei already made breaking software changes, (the reason this thread was originally made). So then they (probably) changed inertial sensor supplier since P20 family launch, and then expect Google to fix a problem they caused? I'd say this is about money and Huawei's lack of interest. Whats in it for Huawei when P30 family is coming? Nothing. Huawei won't be my next phone.

SalvatoreMeschini commented 5 years ago

Version 1.8.190311076 fixed the compatibility-related issue and my P20 seems to detect surfaces.

dementia2029 commented 5 years ago

Same here!

MohammedAlSafwanOld commented 5 years ago

Version 1.8.190311076 isn't working for me. I tried re-installing it and still the same problem. nothing is being detected. I had to download the older version 1.7.19012814, it worked perfectly.

joensaar commented 5 years ago

Well, well. I was one of the lucky ones that it was working for. Now it stopped working for me with v1.8.190311076. I guess one's loss is another's gain. Here's my build fingerprint: HUAWEI/CLT-L29/HWCLT : 9/HUAWEICLT-L29/203C432R1 : user/release-keys

paallysaho commented 5 years ago

Same for me as for Mohammed Al-Safwan. Version 1.8.190311076 is not working, but earlier version 1.7.190128146 works perfectly. My build fingerprint: HUAWEI/CLT-L29/HWCLT:9/HUAWEICLT-L29/203C432R1:user/release-keys

SalvatoreMeschini commented 5 years ago

So it seems that there are (at least) 2 distinct fingerprints for P20 Pro:

1.8.190311076 is finally working with HUAWEI/CLT-L29/HWCLT_accelerometer-lsm6dsm_OFILM:9/HUAWEICLT-L29/195C432R1:user/release-keys, but now HUAWEI/CLT-L29/HWCLT:9/HUAWEICLT-L29/203C432R1:user/release-keys appears to be no longer supported.

Just wondering: is it possible to add both of them to the list of supported models?

LukeTheWrapper commented 5 years ago

IK don't get any AR Core App working, Uninstalled, reinstalled, Downgraded... Nothing works...

Model - CLT-L29

Version - 9.0.0.195(C432E5R1P9)

Got android version 9

Schpammer commented 5 years ago

My phone isn't detecting surfaces neither.

Fingerprint: HUAWEI/CTL-L29/HWCTL:9/HUAWEICLT-L29/236C432R1:user/Release-Keys

danielwikstrom commented 5 years ago

My phone isn't detecting surfaces neither.

Fingerprint: HUAWEI/CTL-L29/HWCTL:9/HUAWEICLT-L29/236C432R1:user/Release-Keys

Same for me. Have the exact same fingerprint:

HUAWEI/CLT-L29/HWCLT:9/HUAWEICLT-L29/236C432R1:user/release-keys

danielwikstrom commented 5 years ago

Just installed v1.9 and its working perfectly! @Schpammer you should try it out aswell, as you have the same fingerprint as me

paallysaho commented 5 years ago

The 1.9.190422056 version (updated on 1.5.) works also for me (build fingerprint: HUAWEI/CLT-L29/HWCLT:9/HUAWEICLT-L29/203C432R1:user/release-keys).

Schpammer commented 5 years ago

1.9 is working. Thanks for that hint!

devbridie commented 3 years ago

As a part of ongoing efforts to maintain ARCore repositories, I’m closing this issue as stale since it hasn’t had activity in more than 6 months. If this issue is still relevant, please feel free to file a new bug using the latest version of the SDK.

wmathilde commented 3 years ago

Hello,

I have a P20 Pro (YAL-L41). I am not able to install "google services for AR" off the google playstore as I get the message "your device isn't compatible with this version". The phone I have was completely reset, I had updated it to the latest system update (10.1.0.230) I tried going back to the previous system version of the phone (10.0.0.198). I tried resetting the playstore. I also tried with several versions of the ARcore apk (latest, 1.12 , 1.9). When I installed those, the message in the playstore for ARcore changed to "This app is no longer compatible with your device. Contact the developers for more info". And I still could not install AR core based apps.

Would you know what could cause this? As the P20 Pro is listed in the compatible devices with AR core, I'm assuming this should work...

devbridie commented 3 years ago

Could you provide your build fingerprint? adb shell getprop ro.build.fingerprint should print it.

wmathilde commented 3 years ago

My bad, I just saw (after hours of searching why it was not working), that the phone I have is actually Honor P20 Pro and not Huawei...