-
Notifications
You must be signed in to change notification settings - Fork 145
An UNSUPPORTED holiday gift from the ARCore team #139
Comments
Thanks so much @inio! We really appreciate your gift and look forward to experimenting more with ARCore in a development setting :) Happy Holidays! |
2019-02-04 18:03:30.548 24736-24754/? I/native: device_profile_database_helpers.cc:296 Found nothing for device_profile_YttHJv Kindly tell what should i do for this logcat to be successfull @tomthecarrot please advise. |
@tomthecarrot Small update: 1.7 (out today) leaves this mechanism unchanged, but switches the main profile database to something much more opaque. I made sure we included an example text-format proto in the assets directory, and I threw in a few hopefully-helpful comments. |
Very cool. I'll check it out. Thanks @inio! |
Just wanted to thank you @inio - I just tried the example file you provided in 1.7 and tried it with Pokemon Go. It worked completely unmodified ! ( Samsung Galaxy S6 ) - I could move closer to the 'mon and walk around, my daughter will be thrilled! Absolutely stunning work :-) |
@mwvent can you please tel me how to do it. I'm stuck at the point where we add our device in custom_device_profile.textproto. note: I'm able to get my device profile info from logcat kindly assist me in this. Many Thanks. I have also s6. |
@inio @mwvent @tomthecarrot I'm creating this custom_device_profile.textproto file and saving data while fetching it from logcat. For s6. Please help me where i am doing wrong. Thanks. this is the tar file order |
I have two phones huawei p10 lite with android O 8.0 and s6 with android N 7.0 |
I simply just extracted the apk and used the assets/device_profile_max_compatibility.textproto file for the custom_device_profile.textproto - it works pretty well with the S6 without making any changes although the only app I have tried is Pokemon GO. It's not quite the experience of a fully supported phone but way better then the 'standard' ar photo experience and I am happy with it. |
@mwvent Many thanks for your reply. I will tell you after implementing it. |
https://drive.google.com/open?id=1MOp6CXxNAABrBWpinWVqOZUO-VYNj8R_ @mwvent please see this video we don't need arcore application installed to run pokemon go. you can see in video. |
@tomthecarrot @inio can you please help me on this. I'm not figuring out this thing. Thanks |
@faizanalibutt - The video link did not work. Anyhow Pokemon Go works without ARCore yes, but there are photography features that will only work when ARCore is installed. Without ARCore you get a Pokemon overlayed simply on your camera image, you can not walk closer to the Pokemon not take a picture from the side as I did above. AR Ruler does run - the results are of course inaccurate - we are running ARCore uncalibrated after all! I would try and respect @inio 's wish not to be hammered with requests for help with this - what has been done already is fantastic and gives us an opportunity to experience the tech and maybe figure some things out ourselves that we could not do otherwise. |
Thanks for your reply. I will look into it. I stopped working on it. Resume
it the.
…On Wed, Feb 20, 2019, 6:25 PM Matthew Watts ***@***.*** wrote:
@faizanalibutt <https://github.com/faizanalibutt> - The video link did
not work. Anyhow Pokemon Go works without ARCore yes, but there are
photography features that will only work when ARCore is installed. Without
ARCore you get a Pokemon overlayed simply on your camera image, you can not
walk closer to the Pokemon not take a picture from the side as I did above.
AR Ruler does run - the results are of course inaccurate - we are running
ARCore uncalibrated after all!
The inaccuracy is more then tolerable for taking pictures of Pokemon. I am
currently running a mixture of old S7 profile from a previous ARCore APK
and the device_profile_max_compatibility profile and will probably continue
to try and have fun tweaking it for the duration of my devices lifespan.
I would try and respect @inio <https://github.com/inio> 's wish not to be
hammered with requests for help with this - what has been done already is
fantastic and gives us an opportunity to experience the tech and maybe
figure some things out ourselves that we could not do otherwise.
[image: screenshot_20190220-131118]
<https://user-images.githubusercontent.com/1349580/53094763-fa81ba00-3512-11e9-9f08-2239626b01bf.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZf-ZJYZqWFzpVbPnoqp3GbMl8q29KZ6ks5vPUzQgaJpZM4ZhNpE>
.
|
@mwvent hello! I'm sorry to bother ya, but I have been trying to extract ar core 1.6 [downloaded from the developer's github] but all that appears is a _manifest file. actually backed up all my apps to be sure it was just that and most of my apps were properly backed. How did you do it? if you don't mind explaining |
I know that github issues shouldn't be used as forum threads or such, but it took some time for me to figure out what to actually do to get ARCore working on my phone (for Pokémon GO's AR+, specifically), so I'm gonna write it here for others to come:
Open Pokémon GO or whatever other app you want ARCore for, and the augmented reality features should be working (AR+, in case of Pokémon GO). I'd like to thank @tomthecarrot, @inio, @mwvent and everyone else who worked on this project for allowing us to use ARCore on officially-unsupported devices. |
So after installing ARCore, com.google.ar.core isn't showing up in my data folder As it should. It's probably why I keep getting 1kb backups so I'm kinda stumped asto what to do |
I'm also getting 1kb backup data @DIGISHORT |
Looks like there's a bug with the latest adb versions - try 1.0.31 (https://archive.mozilla.org/pub/labs/android-tools/) or earlier. |
I've done it. @immewnity @cridus @DIGISHORT Using my Huawei p10 lite android 8.0. Enjoy see above link |
Re the 1kb adb backups I found the only way to get it working with my adb version was to use the -apk flag with adb backup. |
I tried this just now but i continue getting the 1kb backup.. I almost had it working earlier but back to square one. :/ @mwvent |
I was already using this command to backup files. go to platform-tools/adb.exe path and then run this command. |
Good night friends. |
@faizanalibutt hey how do you extract the logcat from ARCore so I can then put it here. |
@DIGISHORT just connect device to android studio in which arcore is installed and search for (arcore/device_profile/calibration/stuff that's relate to arcore) in logcat. You will find it. And there is an option namely Create Gist... click on it give credentials and it will extract the logcat for you. |
First of all, thank you to everybody who gave a little bit of their knowledge to make this possible. I feel like I'm very close to getting this to work on my Samsung SM-A605FN. Logcat of the crash - https://drive.google.com/open?id=1GnryDFLhyqds4G7J6oPaw5ZOyOwNDttd In which you can see the error If somebody could give a hint to what I could possibly be doing wrong, that would be awesome. Cheers |
I think your device is not matching the requirements thats present in that file. Anyhow just try this once in your phone. Open this link @joaopmarques66 |
The zip that you provided in the referenced issue is actually the one I'm using, since I could not do a regular backup of my AR Core app. Is there anything I need to add/edit on the |
Hello. I´m totally noob in this forum and adb commands. Since Pokemon Go released AR+ for Android I wanna make my Redmi Note 5 works cause there are a lot of devices supported by Arcore that are similar o lower specs than my phone. Can anyone make a tutorial por dummies like me to use adb commands and make my phone have the Arcore than he deserves? Very thank you |
Hello again. I did the backup and I just wanna extract or edit the backup.ab file and it's done (i hope). Please help |
Alex
Scroll up and find a link i shared with everyone namely #140 or 140.
You dont need to backup just install arcore app in your phone and then
restore backup file i shared in comments in 140 issue. All you have to do
is run restore command through adb thats it.
…On Sun, Mar 31, 2019, 8:20 PM AlexInTheEcho ***@***.***> wrote:
Hello again. I did the backup and I just wanna extract or edit the
backup.ab file and it's done (i hope). Please help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZf-ZB6ON50fAIbO64e23jWVWTKeX9uxks5vcNJOgaJpZM4ZhNpE>
.
|
Very thank you for the help, but don't work :( I wondering if it's arcore version's fault. I downloaded 1.6 but maybe y I have to instal 1.7 or 1.8? Thank you again |
Try 1.7.
…On Sun, Mar 31, 2019, 8:35 PM AlexInTheEcho ***@***.***> wrote:
Very thank you for the help, but don't work :( I wondering if it's arcore
version's fault. I downloaded 1.6 but maybe y I have to instal 1.7 or 1.8?
Thank you again
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZf-ZOyjCJbEocVrhOC548KoUepSDSA2ks5vcNXRgaJpZM4ZhNpE>
.
|
I will try. Thank you again |
Install arcore app v1.7
Restore file i shared using adb restore command.
And run app that requires arcore it should work.
…On Sun, Mar 31, 2019, 8:48 PM AlexInTheEcho ***@***.***> wrote:
I will try. Thank you again
Just to make my mind clear. The steps are installing de arcore apk.
restore your backup, and should works? I don't need to reboot or something?
The are more steps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZf-ZCXEiS6VryLJFvZf5W97PWUdxLL2ks5vcNjbgaJpZM4ZhNpE>
.
|
Dont work. I just tried with 1.7 and 1.8 and use Pokemon Go and black screen. I have a Redmi Note 5. I'll keep trying but I don't know what more to do. Everytime I install Arcore do the restore command and work fine, wipe caché in Pokemon Go and when I use AR+ it's frozen. But really, thank you for the help |
Can anyone share their backups that are functional? Maybe this way I can make this work. I'd loved use Pokemon Go ar+ and stuff |
I also had no luck. I tried to create backup with custom changes and after failure using one from @faizanalibutt. Nothing worked (using samsung galaxy s6). From what I've noticed, after restoring backup to my phone, and making another one from restored apk, that new backup had no changes made to the first one. It looks like that restore had no effect on my apk, even though I saw a message of restoring on my phone. Anyone? |
@faizanalibutt after restoring the backup you provided the profile was loaded:
But a simple Unity AR tutorial app (that works in emulator) still not working.
@inio let me see if I understood things correctly:
What am I missing? Thanks EDIT: I'm using a Moto Z2 Play |
Well, I give up. Since weeks I've trying to do this with my Redmi Note 5 but can't do this work because I'm totally noob with adb, bash, modify backups and stuff. I can't even understand how this works, but I understand that this post is made for people like developers. I understand, maybe, that in the backup.ab there are a file where I should insert my device profile, or other phone profile? And I can't even know how to do it. Thank you for the knowledge and the help. I hope someday my Redmi Note 5 and other Xiaomi's phone get supported soon |
@Space4ARDev apkmirror have all the old versions of the apk. The same process for editing the backup works fine on the newer arcore versions though, you can even just install an updated apk over the old one when released as the custom profile gets retained which is great. Do you have a specific need for 1.7? |
Dear mwvent |
Hello. Please, mine does not seem to work. I've followed the steps above from @inio I am using Infinix hot s3x, android 8.1 Second Question: Can this also work the the latest arcore ( v1.11 ) ? |
@jorgenascimentoifs - I am just a normal phone user like yourself. Have you tried upgrading to 1.9 and see what happens? |
@kofimokome its probably your phone specs is not near to supportable devices. try to test on flat surface plain surface. like on marble or flat wooden piece. it should work because profile is loaded. |
Thanks @faizanalibutt I still see a black screen. |
I'm gonna take the chance that this post it's still alive to say please someone that understand the steps can explain how to do it for normal users? |
Without root? Sorry but I don't know. |
I'm getting the following error:
Ive tried the following permissions: Owner user matches the parent directory. EDIT: I've fixed the issue by setting SELinux to permissive. Chmod 700. |
Got this working, can confirm it still works for the latest apk (v1.17). Also I figured out the source of the error Based on the log files, arCore uses the native camera libraries. Native lib requires Although, apparently some phones can have proper Camera2 API support enabled. Something to look into if you really need ArCore running on your phone |
i've tried this method and it work in redmi note 8 2021 but the camera is little bit dark and the tracking isn't the best can anyone share with me the database profile for redmi note 8 @inio ? Thank You :) |
Seasons greetings!
First off, I want to apologize for nerfing this project with ARCore 1.2. It was an unfortunate side effect of some important changes we had to make and wasn't intended to limit exploration. We think it's cool that users are so excited about ARCore that they're willing to jump through hoops to use it.
Now, on with the gift:
Though undocumented and totally unsupported, ARCore version 1.6 will look for a file at
/data/data/com.google.ar.core/files/custom_device_profile.textproto
before trying to load a profile normally from the database. This file has the same format as any other device profile and can be injected on a an unrooted device by using the backup/restore mechanism provided byadb
as follows:adb backup
to back upcom.google.ar.core
.apps/com.google.ar.core/f/custom_device_profile.textproto
.android-backup-extractor
may be useful in doing the backup modifications, but be careful of the file order (see the documentation).Unfortunately 1.6 adds a wrinkle when figuring out the nearest profile to start from: device profile names are obfuscated. Here's a couple common places to start with (warning: these will probably change with each release):
1U-j16
ggXzI1
zIGRDW
Qualcomm:ngqwNz
Wvs3US
Qualcomm:y3dvz_
Qk0fSK
Qualcomm:6xH1dn
To build a bigger table, you should be able to find a logcat message that reports the name of the profile loaded, so get at it 😉.
Two final notes:
First, this only works on devices where the ARCore background process can run. We've seen some devices (mostly in China) with a security mechanism that prevents background apps without a launcher icon from running. On these devices the ARCore runtime can't access the ARCore ContentProvider, which prevents reading the profile from ARCore's data directory.
Finally, we really only intended this mechanism for internal development use. We're mentioning it here because we see users super excited about running ARCore on additional devices, and agree that having to root your phone to do that is dumb. That said, we really only want to expose this to users already familiar with adb, side-loading, rooting, and the instability and wackyness that can arise from those things. Don't go out of your way to make it easy for novice users run ARCore on unsupported devices, and don't ask for support through official channels. If either of those start happening, we may have to cripple or remove this capability, and I think that's a loss for everyone involved.
The text was updated successfully, but these errors were encountered: