Giter VIP home page Giter VIP logo

denysvitali / magisk-pixel2-features Goto Github PK

View Code? Open in Web Editor NEW
29.0 12.0 10.0 62.42 MB

A magisk module that provides Pixel 2 Features like Google Lens, Google Camera w/ Motion Pictures and Ambient Sense w/ Music Matching

Home Page: https://cloud.mastodonti.co/s/TiUDgCqKJh1nlvy

Shell 100.00%
pixel pixel2 pixel2xl features magisk google android arm64 googlepixel google-pixel android-o magisk-module

magisk-pixel2-features's Introduction

Pixel 2 Features

Still in development..., we need libsense.so found it! Requires Magisk v1.4.10+ (for no particular reason)

Requirements

  • Android 8.0+
  • arm64 device (yes, N5X, N6P, Pixel 1, Pixel 1 XL are arm64)
  • Magisk Root
  • Time

Current problem

10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader: Failed to stop and unload the sound model.
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader: bnz: SoundTriggerManager.stopRecognition
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at bny.a(PG:24)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at bil.c(PG:3)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at bil.a(PG:35)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at bih.onSharedPreferenceChanged(Unknown Source:2)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.app.SharedPreferencesImpl$EditorImpl.notifyListeners(SharedPreferencesImpl.java:560)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.app.SharedPreferencesImpl$EditorImpl.apply(SharedPreferencesImpl.java:443)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at co.a(PG:3)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.support.v7.preference.Preference.a(PG:11)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.support.v7.preference.Preference.e(PG:5)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.support.v7.preference.TwoStatePreference.g(PG:1)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.support.v7.preference.TwoStatePreference.e(PG:4)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.support.v7.preference.Preference.a(PG:21)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.support.v14.preference.SwitchPreference.a(PG:1)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at mx.onClick(Unknown Source:2)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.view.View.performClick(View.java:6256)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.view.View$PerformClick.run(View.java:24697)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.os.Handler.handleCallback(Handler.java:789)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.os.Handler.dispatchMessage(Handler.java:98)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.os.Looper.loop(Looper.java:164)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at android.app.ActivityThread.main(ActivityThread.java:6541)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at java.lang.reflect.Method.invoke(Native Method)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
10-19 17:47:24.442 14814 14814 E SoundTriggerModelLoader:       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Build the module

(Or you know, click here)

zip -x '.git*' -r /tmp/pixel2-features.zip .

Push the module to your device

adb push /tmp/pixel2-features.zip /sdcard/

Install module

Open Magisk Manager, install /sdcard/pixel2-features.zip, reboot and enjoy.

Post install setup

You may need to:

# Setup the app (give permissions during the wizard)

adb shell su -c 'am start com.google.intelligence.sense/com.google.intelligence.sense.ambientmusic.AmbientMusicSetupWizardActivity'

# Open the Settings View
adb shell su -c 'am start com.google.intelligence.sense/com.google.intelligence.sense.ambientmusic.AmbientMusicSettingsActivity'

Special thanks to

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.