tomthecarrot / arcore-for-all

Google ARCore (dev preview 1) for "unsupported" Android devices
GNU General Public License v3.0
1.04k stars 145 forks source link

Support for Samsung Galaxy S7 active? #136

Open JesseyDeVaney opened 5 years ago

JesseyDeVaney commented 5 years ago

Hello, Im simply just trying to use AR+ for Pokemon GO app. I have a Samsung Galaxy S7 active but the official support hasn't come yet due to not having a compatible calibration I assume. Would this allow me to use AR Core you believe in my situation?

tomthecarrot commented 5 years ago

This project is modifies ARCore Developer Preview 1, so using that version might work. However, it does not support the newer versions of ARCore.

FrostyM commented 5 years ago

In arcore version 1.3 there was a device profile for sony xperia XZs G8231 but in version 1.4 and 1.5 it's removed, is it possible to transfer the device profile to version 1.5 and make it run on that phone?

tomthecarrot commented 5 years ago

@FrostyM Possibly. If it's stored in the ARCore APK, you could use apktool to decompile the v1.3 package, locate the device calibration profile, transfer it to the decompiled v1.5 package, and then build that with a debug signature. There might also be a manifest of device calibration files, with paths for each device model, although it's been a while since I last looked inside an ARCore APK 😛

FrostyM commented 5 years ago

I found the files and moved it, found calibration file manifest and changed path on one and removed the device file it used to go to but trying to add debug signature i have on knowledge about, tearing down apk to find information is where my expertise ends 😅

tomthecarrot commented 5 years ago

@FrostyM Nice! If you have a WIP version on a repo, I'm down to take a look at it and see if we can make this work.

FrostyM commented 5 years ago

I'll try upload that later today, not sure if i use the right program to build or add debug signature, downloaded android studio and hardly know where to start 😅

FrostyM commented 5 years ago

i tryed to upload all files but they where to many, but i also made changes directly in the apk im trying to make work and that counted as 1 file and was possible to upload. Not shure what im doing, first time upload file here 💯

FrostyM commented 5 years ago

@tomthecarrot found how this could work with arcore-preview2.apk and the patch_apk.sh [device-type] if use device type 1014, same camera in that phone. what version if arcore is preview2.apk? Need it to be 1.4 or higher. They write to download the script but all i find is alot of text and no download file so not really getting how to set it up. (learning to drive befor i can walk) :)