One of the greatest and most useful exclusive features of the Google Pixel line, among many, is proper unlimited storage for Google Photos. This feature allows you to back up all your existing pictures and videos in original quality to Google Photos, without having them count up against your existing Google Drive storage. However, this feature is limited to the Pixel, Pixel XL, Pixel 2, Pixel 2 XL, and the Moto X4 Android One edition. If you’re rooted, though, there’s a small workaround discovered by XDA Member emime12 that will allow you to get this unlimited storage feature – as well as other Pixel-exclusive features, like exclusive wallpaper categories on the Google Wallpapers application – on any Android phone running Android 7.1 Nougat or higher. Keep reading to know more!
Enable Unlimited Google Photos Storage & Exclusive Wallpapers on Any Android Phone
In case we haven’t made it clear before, you’re going to need root access in order to continue with the tutorial, so make sure that your phone is properly rooted before continuing. Download nexus.xml to your phone, and open your root file manager of choice (we’ve used Solid Explorer here, but you can use pretty much any root file explorer here), copy the nexus.xml file you just downloaded, and paste it in system/etc/sysconfig. Afterwards, set the file permissions to 644 (rw-r-r-) and you should be good to go.
After finishing, just reboot your phone, wipe Google Photos’ data, then open the application. Photos will now think that you’re using a Pixel, and as such, you should be greeted by a dialog saying that you’re now able to use unlimited storage on your Google Pixel device. Also, you should now have access to more wallpaper categories on the Google Wallpapers app, as well as access to the default Pixel 2 wallpaper on the Urbane category.
Just placing the file in the sysconfig directory should be enough for most devices. If, however, placing the file didn’t work for you, you will have to get your hands even dirtier. Use your build.prop editor of choice (or the same file manager, which usually includes a text editor) to find and change/set the following build.prop values:
ro.product.model=Pixel 2 XL
Instead of the usual (and easily copyable on other devices) approach of a simple build.prop flag, eligibility for some Pixel-exclusive services and features (like unlimited Google Photos storage) is defined in the nexus.xml file, included by default in all Google Pixel phones in the system/etc/sysconfig directory. The system partition is readable without root, meaning that all apps can easily check for a value in said system partition. And some Google apps, like Google Photos and Google Wallpapers, check for specific flags in the nexus.xml file in order to provide specific features to Pixel users. However, as long as your phone has this particular file, these apps will believe that the user is using a Google Pixel, and will, therefore, enable these exclusive features on your phone. So simply inserting it to the system partition using root access and a root file manager will do the trick.
So far, we have tested this on a Moto G 2015 running an unofficial Android 8.0 Oreo ROM, and we can confirm that it works. However, it’s sure to work on all Android 7.1 and higher devices, as the original Google Pixel launched with Android 7.1. And while we cannot guarantee that it works on Marshmallow or lower, it’s possible since the app only seems to be checking for specific flags in the nexus.xml file instead of system-related values. It’s highly possible Google will patch this in the short term – after all, it’s not the first time we find shortcuts we aren’t supposed to find. So, we encourage you to test this out and give us feedback in the comment section. And be sure to check the original tutorial, originally made for the Xiaomi Redmi Note 3, if this worked for you!