google-ar / arcore-android-sdk

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

ARCORE not working on MI A3 Device #956

Closed rbermudez closed 3 years ago

rbermudez commented 4 years ago

SPECIFIC ISSUE ENCOUNTERED

All applications and examples use ARCORE loop in the scanning View, not detect the floor plane. The same aplications are working fine in SAMSUNG A8.

https://ibb.co/DzVGS16

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

1.Install any app use arcore

  1. Wait to scanning view

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

josecm1 commented 4 years ago

Hello, I just bought a Xiaomi MI A3 and when I tried ARCore elements and other AR apps like AR TOYS, FROGGIE JUMP, MEDICION, it can't find any floor neither.

josecm1 commented 4 years ago

Hi, I have good news, it works!

I tried to calibrate the Accelerometer with different applications in playstore, but none worked well (I found that the horizon was not horizontal when using the camera's "straightening" function and I thought it could be for this). Then I found a post saying how to enter the Xiaomi tests:

https://forum.xda-developers.com/mi-a3/help/sensor-issue-t3984067

And it is putting this code in the phone call application:

There you can calibrate several sensors. After it I tried ARCore again, it didn't work either.

Then, I fall into that Google had installed everything I had from my previous phone, including Samsung applications (when restoring the account on the new phone). I have uninstalled several Samsung applications and now it works perfectly!

Hope this help for you, regards!

Ranchhort commented 4 years ago

So I got MiA3 Mobile and in that ARCore service is not able to detect the surface too, neither I can see 3D animals not I can use ruler or measurement app based on AR. Solution is very simple in that case.

You need to calibrate the Accelerometer and restart yur device, thats it. But calibrating Accelerometer using MI command which @josecm1 mentioned is bit difficult despite having plane surface you will find it difficult to tilt your mobile and calibrate +45 and -45 so for that I will suggest you can download https://play.google.com/store/apps/details?id=redpi.apps.accelerometercalibrationfree. Put your phone on Plain surface and start calibrating and sit back. in 15-30 sec it will calibrate. Restart is recomended for this and then you are good to go.

pbtank commented 4 years ago

Well I had a problem in which Google maps and camera straightening worked fine but any ar related app failed to find plane or anything. I just downloaded the app you suggested and calibrated and also restarted 2-3times and after all that it worked so don't know exactly which one worked but ya you can try all the three, ##6484## or app calibration or even check for updates, it will surely work!

pbtank commented 4 years ago

Well the app you're referencing for the calibration Is actually here!

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.