ayush5harma / PixelFeatureDrops

Magisk Module for Pixel Feature Drops that adds the system files for the same and spoof using the latest device fingerprint from Google Pixel .
MIT License
346 stars 16 forks source link

Collection of Common Solved Issues #42

Open ayush5harma opened 3 years ago

ayush5harma commented 3 years ago

Unsupported CustomROM :

Issue : features not enabling.
Solution : Use Custom ROM (not GSI) which are AOSP based with pixel's system UI (preferably gapps build).

No UI for Google Assistant 2.0 :

Issue : Customised Pixel launcher and navbars shipped with custom ROMs such as shady launcher variants of pixel launcher with app lock, icon packs, double tap to sleep and replaced navbar to provide 2 button gesture and customisation of the pill.Modified pixel launcher removes the UI completely while modified navbar removed the glow as these only worked with stock files.
Solution : Use the Pixel Launcher port from Pixel 5 if not provided with ROM. After flashing one can update the pixel launcher to latest version from here - https://www.apkmirror.com/apk/google-inc/pixel-launcher/pixel-launcher-11-release/
From June another variant of module will be added for convenience.

Face Enrolment :

Issue: Enrollment not working because of errors with camera ( front camera not working during enrollment or switching to back camera )
Solution : Enroll your face for face unlock before flashing the module.

Playstore system Update :

Issue : Unable to install playstore system update.
Solution : Disable the module then reboot and then install the playstore system update after which re- enable the module from magisk folowed by a reboot.

Safetynet:

Issue : Safetynet fails.
Solution :
Make sure to install correct release otherwise it will lead to CTS Failure in safetynet Besides that, the following steps are to be taken in general when using magisk to pass safetynet:

If using edxposed also follow the below steps to ensure that the safetynet passes:

Aux Lenses:

Issue : Can't detect /switch to aux lenses.
Solution : If you are using gcam port try loading appropriate config file for the gcam you are using. For instance, below is the link to configs for wyroczen's google camera port for Xiaomi Redmi Note 8 Pro . https://www.celsoazevedo.com/files/android/google-camera/f/configs-wyroczen-03/

If you're using miui cam port or any other which checks for device fingerprint you have to spoof the device fingerprint for it using edXposed module (https://github.com/ikws4/WeiJu) to make it work (you may check video here (https://github.com/ayush5harma/PixelFeatureDrops/issues/10#issuecomment-701601857) and can get these variable values from your stock build.prop file.

HAL 3 :

Issue : Playstore not listing AR services.
Solution : clear playstore data

davigamer987 commented 3 years ago

The no ui for google assistant 2.0 fix is not working on cherishOS, In my case assistant doesn't work at all

davigamer987 commented 3 years ago

https://streamable.com/5eshmo look at the video

ayush5harma commented 3 years ago

use custom ROM instead of GSI

davigamer987 commented 3 years ago

There are no roms for my device but regardless gsi should not affect the module in any way, i will ask braialindo if he used different gapps

davigamer987 commented 3 years ago

also keep in mind gsi's are all aosp based and built just like any other rom.

ayush5harma commented 3 years ago

There are no roms for my device but regardless gsi should not affect the module in any way, i will ask braialindo if he used different gapps

This module is a magisk module and magisk itself has issues with GSIs.Explore magisk issues page if you feel like.

GSI or custom ROM it has to be as close to google's stock for things to work.You cannot expect things to work well with micro or pico gapps either in some vanilla build of custom ROM.

ayush5harma commented 3 years ago

also keep in mind gsi's are all aosp based and built just like any other rom.

It will work in GSIs which are built with gapps similar to gapps build of custom ROMs ofc unless the GSI has issues with magisk.

Your google app is causing the issues after installing the module, It was not with the cherish OS build i have installed and since both our cherishOS gapps builds have same source that shouldn't be the case unless it's inconsistent gapps setup in your GSI.

Build your own GSI with cherishOS source.And please use the same guide as we use for building custom ROM maybe then you'd realise what you said here.

davigamer987 commented 3 years ago

Im guessing braialindo changed the gapps to make the gsi smaller, maybe other roms will work better

siddharthalodha commented 3 years ago

@ayush5harma Hey, thanks for the amazing work. Just wanted to post my update:

  1. Able to get most of the features working on my Pixel 2 XL (Taimen ) December Update Stock Android 11. I tried with the december patch.
  2. Earlier, i had tried on a custom rom, the experience was okish and some of the features were not working properly like the Assistant with Continued Conversation.
  3. Is there a way to get the latest features ported to older December patch as the last stock rom was updated then ? This includes things like Continued Conversation, Extreme battery saver, Gboard assistant, Now playing export, Keep screen on when looking etc. I checked that I am using the latest version of Device Personalization services. Is it possible for you to combine the latest zip for december patch ?
ayush5harma commented 3 years ago

@ayush5harma Hey, thanks for the amazing work. Just wanted to post my update:

  1. Able to get most of the features working on my Pixel 2 XL (Taimen ) December Update Stock Android 11. I tried with the december patch.
  2. Earlier, i had tried on a custom rom, the experience was okish and some of the features were not working properly like the Assistant with Continued Conversation.
  3. Is there a way to get the latest features ported to older December patch as the last stock rom was updated then ? This includes things like Continued Conversation, Extreme battery saver, Gboard assistant, Now playing export, Keep screen on when looking etc. I checked that I am using the latest version of Device Personalization services. Is it possible for you to combine the latest zip for december patch ?

Modified zip

GA 2.0 and continued conversation, adaptive sound, now playing export should work. Gboard Assistant should work as well if not you might need to enable flags in flag_value.xml located at /data/data/com.google.inputmethod.latin/shared_prefs setting them to true or 1 whichever is appropriate.

Keep screen on and extreme battery saver won't work

siddharthalodha commented 3 years ago

@ayush5harma Not able to access the file. Also, any reason why keep screen/extreme battery saver can't be back ported ? I remember running them on the march build on a custom rom.

ayush5harma commented 3 years ago

@ayush5harma Not able to access the file. Also, any reason why keep screen/extreme battery saver can't be back ported ? I remember running them on the march build on a custom rom.

Use this link Dropbox share

Try it out to check.

siddharthalodha commented 3 years ago

Hey, Thanks for the effort. I tried with the above link as well as the latest May patch on my Stock P2XL running Dec Update. I got the new UI but didn't get the setting to enable Continued Conversation. I have set all languages to English(US). Someone else was not able to enable CC on P2 earlier (#10 )

I believe Stock ROM might be missing some files as I didn't get a notification to download supporting files as I had got running Custom ROM with march patch some time back.

Also, Surprisingly Continued Conversation/Keep screen on/Extreme battery saver were working on the custom ROM with march patch but not on Stock ROM with december update.

siddharthalodha commented 3 years ago

Just an update on the above message. I was finally able to get Continued Conversation and Gboard Voice typing Assistant work. After I flashed the above link, even though i was on latest Google App, i got an app update. After updating, I got a message that I need to download additional files and that enabled it. Thanks a lot.

To summarize, I am able to get all major features working on P2XL december (Last Official Google Update). Only missing features include small things like Keep Screen on/Extreme Battery Saver/Adaptive Charging/Now Playing Export. I believe the files for this doesn't exist so they are not enabled.

Also, for the camera, I am using latest Cstark camera and changing config to P2XL.

lauw0129 commented 3 years ago

After install the module from magisk, and reboot. Just a few seconds after boot. It shutdowns. I have tried many times. I need to remove the module from twrp and there's not any problem. Is there anyway to solve this problem? Thank you

ayush5harma commented 3 years ago

After install the module from magisk, and reboot. Just a few seconds after boot. It shutdowns. I have tried many times. I need to remove the module from twrp and there's not any problem. Is there anyway to solve this problem? Thank you

Which custom ROM and device ?

lauw0129 commented 3 years ago

After install the module from magisk, and reboot. Just a few seconds after boot. It shutdowns. I have tried many times. I need to remove the module from twrp and there's not any problem. Is there anyway to solve this problem? Thank you

Which custom ROM and device ?

I am using xiaomi 10t pro with miui_APOLLOEEAGlobal_V12.5.1.0.RJDEUXM rom

ayush5harma commented 3 years ago

miui_APOLLOEEAGlobal_V12.5.1.0.RJDEUXM

You're using it with miui. Read requirements

janshatad commented 3 years ago

No ui in Google assistant, no call screening

ayush5harma commented 3 years ago

No ui in Google assistant, no call screening

Try flashing AssistantFix.zip for no assistant UI. Also which country?