Augmented Reality Stickers are now available on the 1st and 2nd generation Google Pixel smartphones. AR stickers allow users to put 3D digital objects inside the viewfinder of their smartphone camera. Star Wars and Stranger Things were the first AR stickers to be introduced with the AR sticker feature being exclusive to Google Pixel devices.

However, when it comes to Android, exclusivity is only a word. AR stickers can be enabled on any rooted Nexus 6P running Android 8.1, as well as the OnePlus 3, OnePlus 3T and Xiaomi Mi 5.

AR stickers are coded so they only work with Google Pixel phones, but the restrictions aren't that difficult to work around. Decompling the APK for the AR stickers displays the following lines in the AndroidManifest:

meta-data android:name="com.android.device.restriction" android:value="brand=google, deviceName=marlin; brand=google, deviceName=sailfish; brand=google, deviceName=walleye; brand=google, deviceName=taimen"

The application will fail to run unless the device's brand is "Google" and the device name is either marlin, sailfish, walleye or taimen which refers to the Google Pixel XL, Pixel, Pixel 2 and Pixel 2 XL.

To get started, you'll need to modify the device name to match one of the whitelisted device models recognized as a Google Pixel. This will require root access since a property in the build.prop file located in the / system will be modified. If using a rooted Nexus 6P device, follow the steps below to enable AR Stickers:

  1. Download and install the ARCore app and the AR Stickers app.

  2. Download and install BuildProp Editor from the Play Store.

  3. Find and change "ro.build.product", "ro.product.name", "ro.product.device", and "ro.product.model" to equal "marlin"

  4. Reboot your phone

  5. Download the More Shortcuts app. We'll use this to create a shortcut to launch the AR Stickers activity.

  6. Open the app and select "Activity."

  7. Scroll down and find AR Stickers. Expand it and tap on "MainActivity."

  8. Add the shortcut to your launcher.

  9. Go back to your launcher and tap the shortcut to launch AR Stickers!

To enable AR Stickers on the OnePlus 3, OnePlus 3T or Xiaomi Mi 5 see the steps below:

  1. Install the modified ARCore and AR Stickers APKs.

  2. Download calibration_cad.xml.

  3. Install MiXplorer or use any other root-enabled file explorer.

  4. Move calibration_cad.xml to /system/etc.

  5. Download and install BuildProp Editor from the Play Store.

  6. Open it and add this line: ro.config.calibration_cad=/system/etc/calibration_cad.xml

  7. Install one of the following modified Google Camera APKs from here: GCam5_5.1.018, MGC_5.1.018, or GoogleCamera_5.1.018.

  8. Open up Google Camera and look for AR Stickers in the menu.

The video below shows AR stickers working on a Xiaomi Mi 5.

This method may work on other smartphones not mentioned in this article, but you'll need a calibration_cad.xml file specific for your device. Google's AR Core currently works on the Samsung Galaxy S8, so it's possible AR Stickers will officially debut on other devices in the coming weeks.

via XDA