[FLASHABLE ZIP] Google Lens and other Pixel 2 Exclusive Features - OnePlus 3 Themes, Apps, and Mods

I've been rooting around in the recently posted Pixel 2 (XL) system images, and I've found the key to Google Lens (and any other Pixel 2-exclusive features, presumably, which ones though?), so I decided to make a flashable zip and share my success.
Achievement Unlocked: Featured on XDA
Thanks a million!
Features
- Google Lens in Google Photos (Not in the Assistant)
- Pixel-exclusive apps in the Play Store (namely, Pixel Launcher)
- Pixel-exclusive wallpaper categories (Underwater, etc.)
- You tell me
Unlimited photos?
According to @thecoolkid, photo backup settings will stay the same, and you won't get unlimited photos unless you're uploading in "high quality", which will compress them. Basically, although it claims unlimited photos, it'll just be the setting you had before.
Instructions
Really?
1. Flash the zip, and Google Lens should magically appear (I didn't even need to clear Google Photos' app data)
2. Enjoy Google Lens (Only inside Google Photos, not in the Assistant itself - more info here)!
Uninstalling Google Lens?
You can revert the functionality of this zip and effectively uninstall Google Lens by deleting the following files:
Code:
/system/etc/sysconfig/nexus.xml
/system/etc/sysconfig/pixel_2017_exclusive.xml
/system/etc/sysconfig/pixel_2017.xml
Screenshots / Screenrecording
Small example screenrecording, watch here
Magisk Module
I personally haven't tested this, but you can go check it out here. (Thanks to @Flint2)
Download
See attachments
Mirrors: My server / AndroidFileHost

Using Pure Fusion OS Nougat. Works flawlessly. Great work.

Thanks!
This works great straight from Google Photos, but I'm not seeing the Lens icon in standalone assistant yet. Guess I'll wait for an update to assistant.
(OP3t running Zenity nougat)

It doesn't work on latest oos beta (oreo) ...
I thought google turned off this trick from its side?

theduke7 said:
It doesn't work on latest OOS Open Beta (Oreo 8.0) for me...
Didn't Google disable this trick server-side?
Click to expand...
Click to collapse
That was different, that was where you would spoof that you have a Google Pixel 2 XL. In this case, I add the actual permissions that define a Pixel 2 device:
Code:
<!-- This defines the Photos preload feature for specifically the 2017 Pixel devices. -->
com.google.android.apps.photos.PIXEL_2017_PRELOAD
<!-- This is meant to be the canonical feature identifying 2017 and newer Nexus devices. -->
com.google.android.feature.PIXEL_2017_EXPERIENCE
It also adds other canonical features identifying a Pixel device, you can check these out inside the flashable zip.
It works for me. You may need to combine the previous trick as well and pretend you have a Pixel 2 (XL) in build.prop
This zip doesn't enable Google Lens inside the Assistant itself, just inside Google Photos. I'll clarify that in OP.
All the best,
ZeevoX

Working great, thanks!

jeremyet said:
This works great straight from Google Photos, but I'm not seeing the Lens icon in standalone assistant yet. Guess I'll wait for an update to assistant.
(OP3t running Zenity nougat)
Click to expand...
Click to collapse
I've updated OP to state that it won't work in Assistant, since that doesn't happen even on the Pixel 2 (XL). I've also provided a link to an AndroidPolice news article about that.
All the best,
ZeevoX

ZeevoX said:
That was different, that was where you would spoof that you have a Google Pixel 2 XL. In this case, I add the actual permissions that define a Pixel 2 device:
Code:
<!-- This defines the Photos preload feature for specifically the 2017 Pixel devices. -->
com.google.android.apps.photos.PIXEL_2017_PRELOAD
<!-- This is meant to be the canonical feature identifying 2017 and newer Nexus devices. -->
com.google.android.feature.PIXEL_2017_EXPERIENCE
It also adds other canonical features identifying a Pixel device, you can check these out inside the flashable zip.
It works for me. You may need to combine the previous trick as well and pretend you have a Pixel 2 (XL) in build.prop
This zip doesn't enable Google Lens inside the Assistant itself, just inside Google Photos. I'll clarify that in OP.
All the best,
ZeevoX
Click to expand...
Click to collapse
Update/ disregard previous replies, i was too noob-ish, it works perfectly...
i thought it would add a camera button or something to photos app

theduke7 said:
That was different, that was where you would spoof that you have a Google Pixel 2 XL. In this case, I add the actual permissions that define a Pixel 2 device:
Update/ disregard previous replies, i was too noob-ish, it works perfectly...
i thought it would add a camera button or something to photos app
Click to expand...
Click to collapse
Nice font. Which one?

silentvisitor said:
Nice font. Which one?
Click to expand...
Click to collapse
OnePlus Slate (it should be there on 4.5.0 and above) i'm using latest beta. and theme is PitchBlack.
in case you're not on stock rom (or OP device)
https://forums.oneplus.net/threads/font-oneplus-slate-download.544318/

Did it work in any samsung device

working great on oneplus 5 xXx rom

Magisk Module
Cannot wait for Magisk Module, so there is it.
Tested on Oneplus 5
Don´t forget to thanks the OP!

Awesome.
Working flawlessly on LOS 15 in Redmi Note 4 (Mido). Thanks a lot, mate. Cheers !

Working perfectly on Unofficial LOS 15 Redmi Note 3.

Working great on Nexus 6P Stock Oreo!!! Thank you!!!
It also enables the unlimited drive space with original photo size upload option again, but if it is really working I didn't find out yet.
Sent from my Nexus 6P using XDA Labs

Thx a lot. It works beautifully.
Though can we get this without the fake google photo unlimited uploads?

..and also Google Lens recognized my N6P as a Google Pixel
Sent from my Nexus 6P using XDA Labs

Great man!

Ok thanks for the great job but I noticed that photos app now is backing up new photos in full quality, does it works against my gdrive storage or what?

Related

Integrate Google Lens in Google Assistant

Google recently started pushing Google Lens in the Google Assistant, this is a server side switch, but you can increase the probability by following this method
Procedure :-
Update the Google App and Google Play Services to the latest beta.
Flash the Pixel Features zip by @ZeevoX
Long Press the Home Button
Enjoy!
Note:- I have tried it on Android 8.0, may or may not work with Nougat. Also, it's a server side switch, so it might take time.
Downloads :-
@ZeevoX 's Pixel Features Zip :- https://forum.xda-developers.com/oneplus-3/themes/flashable-zip-google-lens-pixel-2-t3693859/page1
Screenshots are attached below!
Credits :-
@ZeevoX
Google
ThankYou!
Good work! Thanks for sharing!
Show me your Google app version and the Google services also
According to your procedure Lens won't integrated in my assistant still
My Moto G on 7.1.1 Aosp extended Rom

SideSqueeze - Add squeeze gestures to your Note8!

I've been working on an app that adds squeeze gestures to any watersealed phone (only tested with Samsung S8+/Note8). I have been using it myself for a while now, but I think it's ready for others to try.
Here is a Play store link.
XDA:DevDB Information
SideSqueeze, App for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
ffolkes
Version Information
Status: Beta
Created 2018-03-19
Last Updated 2018-03-19
I'll try it on my LG V30 but I need an APK - Play Store says unsupported device. Thanks.
Can you share apk to test on my S7 edge?
Same as Stark, would love to try on my V30. Thanks in advance!
Awesome, trying it out now on my s8. Thanks
I realize that my phone was not thought about, and nor do I intend to use SideSqueeze (but great work nevertheless), however SideSqueeze just crashes on the Nexus 4 when the selected activity is supposed to occour (I was just testing it for the fun of it.
The Nexus 4 has a barometer, and SideSqeeze shows how hard I am squeezing the phone just fine, however it crashes whenever the desired action (in this case, toggling WiFi) is supposed to occour.
The same thing happens with the ForcePress feature.
I'll try testing a few more activities in the meantime.
Update: Using the home function is hit-or-miss, It works, but only part of the time, however it fails to work at all with ForcePress.
Edit: I had forgotten to post some vital specs:
ROM: CRDroid (based upon Lineage OS)
Android version: 7.1.2
Running Xposed Framework (no Magisk)
Can someone provide an apk?
shagbag913 said:
Can someone provide an apk?
Click to expand...
Click to collapse
The OP has released a Play Store link, there is no need for an APK, even if you run a noGAPPS build (like me).
I like the idea, and I went ahead and purchased premium. I am using a note 8, and the only problem I am experiencing is that the ADB command from the FAQ is returning an error. Can you help?
I'm using an S9 based ROM on my S8, so it doesn't recognise it as a compatible device. I think an APK would be much appreciated if at all possible.
Can we have apk. Our devices can't download it on playstrore
Do not use this app with a popsocket, you will always trigger it when reaching for the notification area or anything on the left side
moriel5 said:
The OP has released a Play Store link, there is no need for an APK, even if you run a noGAPPS build (like me).
Click to expand...
Click to collapse
My device is incompatible so..
MrDanMak said:
I'm using an S9 based ROM on my S8, so it doesn't recognise it as a compatible device. I think an APK would be much appreciated if at all possible.
Click to expand...
Click to collapse
Yes it would be very much appreciated.
ffolkes said:
I've been working on an app that adds squeeze gestures to any watersealed phone (only tested with Samsung S8+/Note8). I have been using it myself for a while now, but I think it's ready for others to try.
Here is a Play store link.
XDA:DevDB Information
SideSqueeze, App for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
ffolkes
Version Information
Status: Beta
Created 2018-03-19
Last Updated 2018-03-19
Click to expand...
Click to collapse
Tested it in my S5 Exynos
Works fine.
??
Comes up with early access program full when you go to download . Approx when would early access be expanded ?
App looks great btw , just wanting to see when I could download it ?
Want to try it on pixel 2 xl on du rom. An apk would be really nice.. thanks. Anyone with apk please upload on some dropbox or else.
shagbag913 said:
My device is incompatible so..
Click to expand...
Click to collapse
Sorry about my initial behavior, however I was concerned about the OP being against the APK just being shared.
Let's wait for the OP to say something on the subject, and if you can't wait, then use "Galaxy" app store (based upon "Yalp Store") to download the app (after you log in your Google account).
You can get "Galaxy" from XDA Labs.
moriel5 said:
Sorry about my initial behavior, however I was concerned about the OP being against the APK just being shared.
Let's wait for the OP to say something on the subject, and if you can't wait, then use "Galaxy" app store (based upon "Yalp Store") to download the app (after you log in your Google account).
You can get "Galaxy" from XDA Labs.
Click to expand...
Click to collapse
Haha I didn't mean it like that I was just saying my phone wasn't compatible but thanks
moriel5 said:
Sorry about my initial behavior, however I was concerned about the OP being against the APK just being shared.
Let's wait for the OP to say something on the subject, and if you can't wait, then use "Galaxy" app store (based upon "Yalp Store") to download the app (after you log in your Google account).
You can get "Galaxy" from XDA Labs.
Click to expand...
Click to collapse
It doesn't work in Yalp or Galaxy because there aren't any compatible devices in the spoofing list
Rocketfin said:
It doesn't work in Yalp or Galaxy because there aren't any compatible devices in the spoofing list
Click to expand...
Click to collapse
That's odd, I had downloaded it it through Galaxy without any issues.
In fact, no app shows up as incompatible for me with Galaxy, even if it really is.

[Magisk Module] Google Phone w/ Visual Voicemail Support

This module was originally made by @OMJ and tested on the HTC U11 US Unlocked model (BS_US001) with T-Mobile Carrier. I recently acquired a HTC U12+ Dual Sim (HTC__622) and then converted it HTC U12+ Dual Sim (HTC__626). Tested it on both and Google Dialer w/ Visual Voicemail works with T-Mobile Carrier. I assume it would be the same result on the HTC U12+ US Unlocked (BS_US001). Once installed you can continue to receive updates to the Google Phone app via Google Play Store. Cheers :victory::victory: Be sure to give @OMJ a thanks if this helped you and if you want to be super homie leave a donation.
Requirements:
Unlocked Bootloader, Magisk 17.0+ and TWRP
You must have a compatible carrier that supports the Visual Voicemail feature
Make the Google Phone the default calling app
Enable all permissions to Google Phone
Clear the data of Google Play Store
Installation:
Flash in TWRP Recovery
General Info:
To Disable The Module, Open Magisk Manager --> Modules --> The Module --> Tap On The Check Box/The True Icon --> Reboot
To Enable The Module, Open Magisk Manager --> Modules --> The Module --> Tap On The Uncheck Box --> Reboot
To Uninstall The Module, Open Magisk Manager --> Modules --> The Module --> Tap On The Bin Icon --> Reboot
If the magisk module doesn't work for you, try the following but it is more trivial.
Make the latest Google phone app (apkmirror is your friend) a system app using this method
https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851
Then modify the desired values to true (you could activate call screening with this but more than likely will not work) to the dialer_phenotype_flags.xml file, the directory is the following
/data/data/com.google.android.dialer/shared_prefs
That will give visual voicemail with transcribed voicemails. This is assuming both your carrier and google allow it. There is no way to force compatibility with visual voicemail but other features will work aside from call screening.
Source
Getting FC with wwe 1.30 base
mdxdave said:
Getting FC with wwe 1.30 base
Click to expand...
Click to collapse
Did you previously have any existing builds of Google phone installed? Also are you using any other google framework like magisk modules? Using any themes currently?
Nope, no version installed before, no other magisk module or any other modification. I am using substratum, but didn't choose Google phone or contacts to theme
mdxdave said:
Nope, no version installed before, no other magisk module or any other modification. I am using substratum, but didn't choose Google phone or contacts to theme
Click to expand...
Click to collapse
Are you running stock, custom rom or just a magisk rom module?
Google phone with dark mode is working great for me and a big help for Verizon users if you add Google Duo for video calls. And if you get into the Google phone beta program you get playstore updates.
LibertyMonger said:
Google phone with dark mode is working great for me and a big help for Verizon users if you add Google Duo for video calls. And if you get into the Google phone beta program you get playstore updates.
Click to expand...
Click to collapse
You try getting call screening to work?
LibertyMonger said:
Google phone with dark mode is working great for me and a big help for Verizon users if you add Google Duo for video calls. And if you get into the Google phone beta program you get playstore updates.
Click to expand...
Click to collapse
It FC-ing on when I use Search or Smart dial...
LibertyMonger said:
Google phone with dark mode is working great for me and a big help for Verizon users if you add Google Duo for video calls. And if you get into the Google phone beta program you get playstore updates.
Click to expand...
Click to collapse
Clearing the data and cache from the Google play store should remedy that if you don't want to opt for beta releases
aer0zer0 said:
You try getting call screening to work?
Click to expand...
Click to collapse
I just checked it out and this is what I found...
Google’s Call Screening feature only works on the Pixel 3 and Pixel 3 XL smartphones, but it will be available for the Pixel and Pixel XL, as well as the Pixel 2 and Pixel 2 XL in November. It’s unclear if Google plans to keep this as an exclusive Pixel phone feature, or if it will be baked into Android at a later date.
Everything else seems to work especially caller ID and spam blocking. It helps to negate the argument that Sense is too old when we can add apps like this and turn HTC phone completely off.
And I just checked the Playstore to show how Google phone shows on the U12+ and I already have another update.
LibertyMonger said:
And I just checked the Playstore to show how Google phone shows on the U12+ and I already have another update.
Click to expand...
Click to collapse
Unrelated question, what theme did you use to theme the nav bar?
8bitbang said:
Unrelated question, what theme did you use to theme the nav bar?
Click to expand...
Click to collapse
I'm using PitchBlack with Substratum but didn't theme the navbar, it shows black on certain apps but still mostly white.
I will try theming the navbar but last time I tried it didn't work.
8bitbang said:
Unrelated question, what theme did you use to theme the nav bar?
Click to expand...
Click to collapse
YouTube app navbar is themed so I suppose the apps I theme work.
Here is a link for it
https://www.xda-developers.com/google-phone-v26-dark-theme/
LibertyMonger said:
Google phone with dark mode is working great for me and a big help for Verizon users if you add Google Duo for video calls. And if you get into the Google phone beta program you get playstore updates.
Click to expand...
Click to collapse
Is it possible to get visual voicemail with VZW? It seems like they lock Advanced Calling features out of non Verizon branded phones
tdwpkidd said:
Is it possible to get visual voicemail with VZW? It seems like they lock Advanced Calling features out of non Verizon branded phones
Click to expand...
Click to collapse
They didn't lock them out, it is because Verizon did not make it's on software for the U11 and U12+ like they normally do. Verizon used to not even let us bring unlocked phones, we had to buy Verizon branded.
I haven't messed with it yet but I think it will be possible to get Google visual voicemail
The spam blocker feature is working
HTC will be ahead of the 5g game with superior carriers like Verizon. Since Verizon will be the first with 5g.
LibertyMonger said:
I just checked it out and this is what I found...
Google’s Call Screening feature only works on the Pixel 3 and Pixel 3 XL smartphones, but it will be available for the Pixel and Pixel XL, as well as the Pixel 2 and Pixel 2 XL in November. It’s unclear if Google plans to keep this as an exclusive Pixel phone feature, or if it will be baked into Android at a later date.
Everything else seems to work especially caller ID and spam blocking. It helps to negate the argument that Sense is too old when we can add apps like this and turn HTC phone completely off.
Click to expand...
Click to collapse
PM me sometime

Google Photos GREAT Non-Advertised side effects of xmlpack Magisk module

Okay so I tried out a bunch of Magisk modules and one of them is "xmlpack - a road to vendor apps" which makes the play store detect your phone as eligible for vendor apps (apps made by manufacturers for their specific phones).
That's great, but then I got this weird notification from Google Photos and this info card under my account :
the attach files thing wasn't working, so here is the link to google photos
screenshots taken on my Pocophone f1
So Apparently, because of xmlpack, Google Photos thinks my Pocophone is a Pixel 3 (Pixel 2's end date is 2020, pixel 3 is 2022, just like my card). If Google Photos just uses the latest xmlpack it finds, as long as the developper of the magisk module updates it, we'll get free OG quality uploads forever ! That sure seems cool, I just hope it doesn't get patched up too quickly...
(Sorry, I posted this in the Help section, mustve been a bit tired yesterday)
EDIT : I since learned that even though Google photos displays this message, it checks more things such as the Mac Address to check if your device is a Pixel.
thank you info this
Working on Xiaomi EU 9.3.14, thanks for the info
Noice, Google identified Pocophone F1 as a Pixel Device. Hahahaha
Its just showing that we have unlimited storage for original photos till 2022 but it is indeed uploading them in just High Quality.
I have tried checking my uploaded pictures size and dimensions on Google Photos website in browser and found out its just in High Quality rather than Original.
Yhu
asifzbaig said:
Its just showing that we have unlimited storage for original photos till 2022 but it is indeed uploading them in just High Quality.
I have tried checking my uploaded pictures size and dimensions on Google Photos website in browser and found out its just in High Quality rather than Original.
Click to expand...
Click to collapse
Have you tried changing your settings to original quality? I read somewhere that even though Google photos showed this card it actually checks for more things, like the device's Mac address to check if it's really a Pixel.
PocoSteve said:
Have you tried changing your settings to original quality? I read somewhere that even though Google photos showed this card it actually checks for more things, like the device's Mac address to check if it's really a Pixel.
Click to expand...
Click to collapse
Check the attached message I am getting. .

[MOD] Spoof your Moto Action to Pixel 3 XL and get Pixel exclusive features

So I came across this module by ImRickHarrison. He has created this module for OnePlus 6. But it works for our Moto One Action as well.
As soon as I flashed it, I was able to get unlimited Google Photos storage at Original Quality till February 2022! Definitely worth a short. Well, you could also get tons of other Pixel related features. I tried the minimal one (only 45KB) because I only wanted this feature. Download the minimal version from GitHub, transfer it to your device and flash it via Magisk. You wouldn't be able to find it in the Downloads section, so installing this way is the only possible method.
After flashing the module, reboot your device and clear the cache and data of Google photos app. Now open the app and enjoy unlimited storage.
Moreover, if you wish to try out any of his other builds of this module, head over his guide. You could get tons of other features depending on the type you choose. In the end, don't forget to head over to Settings > About Phone > Model & Hardware and brag off your new Pixel 3XL.
~Check Out the Screenshots~

Categories

Resources