Giter VIP home page Giter VIP logo

Comments (16)

argraur avatar argraur commented on June 16, 2024

AmbientSense looks for libsense.so in */lib64 folders, so it means that libsense.so should be in x64 too.

from magisk-pixel2-features.

argraur avatar argraur commented on June 16, 2024

@denysvitali what device do you own?

from magisk-pixel2-features.

denysvitali avatar denysvitali commented on June 16, 2024

N6P (arm64) and Pixel C (arm64). In my case, when the libsense.so file is placed in /system/lib/ the package doesn't complain (doesn't throw any error like yours do).

I'm running Android O, w/ September security patches on both devices

from magisk-pixel2-features.

argraur avatar argraur commented on June 16, 2024

I'm running Android O, w/ October patch on Nexus 5X :/

from magisk-pixel2-features.

denysvitali avatar denysvitali commented on June 16, 2024

Don't worry. We can create a symlink :)

from magisk-pixel2-features.

argraur avatar argraur commented on June 16, 2024

Symlink from /system/lib/libsense.so? Does not work.

from magisk-pixel2-features.

denysvitali avatar denysvitali commented on June 16, 2024

Why not? Should we really copy it?

from magisk-pixel2-features.

argraur avatar argraur commented on June 16, 2024

You can't copy x86 library to lib64 huh I tried already

from magisk-pixel2-features.

denysvitali avatar denysvitali commented on June 16, 2024

Is it arm? I thought it was arm64... I gotta check as soon as I'm back at my notebook

from magisk-pixel2-features.

denysvitali avatar denysvitali commented on June 16, 2024

Just checked from my phone: you are right. It's a 32 bit library (damn!)

libsense.so: ELF shared object, 32-bit LSB arm, dynamic (/system/bi /linker), BuildID=8ca0677f140a75815ed4fc805a0ee0c3, stripped

from magisk-pixel2-features.

denysvitali avatar denysvitali commented on June 16, 2024

I can't seem to find the x64 version anywhere. I just copied it to /system/lib64/ as a (bad) workaround.

Btw, I just noticed this:

AmbientSensePrebuilt/AmbientSensePrebuilt/AndroidManifest.xml:<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.intelligence.sense" platformBuildVersionCode="26" platformBuildVersionName="8.0.0">
PixelAmbientServices/PixelAmbientServices/AndroidManifest.xml:<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.intelligence.sense" platformBuildVersionCode="27" platformBuildVersionName="8.1.0">

I've got two versions of the com.google.intelligence.sense (one is called AmbientSense and the other PixelAmbientSense). One targets 8.0.0, the other targets 8.1.0

from magisk-pixel2-features.

argraur avatar argraur commented on June 16, 2024

You should not put both into system because they still have conflicting package names

from magisk-pixel2-features.

argraur avatar argraur commented on June 16, 2024

Only AmbientSensePrebuilt

from magisk-pixel2-features.

Ramisky avatar Ramisky commented on June 16, 2024

I think I can help got an idea

from magisk-pixel2-features.

Ramisky avatar Ramisky commented on June 16, 2024

I think we should check both on the pixel

from magisk-pixel2-features.

Ramisky avatar Ramisky commented on June 16, 2024

And for the libsense.so x64 why not get it from a pixel 2?

from magisk-pixel2-features.

Related Issues (4)

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.