Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional PixelPropsUtils props to workaround #21

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

bphd
Copy link

@bphd bphd commented Oct 5, 2024

No description provided.

@osm0sis
Copy link
Owner

osm0sis commented Oct 5, 2024

Seems unnecessary, .pi is the one that matters.

@osm0sis osm0sis closed this Oct 5, 2024
@bphd
Copy link
Author

bphd commented Oct 5, 2024

Seems unnecessary, .pi is the one that matters.

Can tell you that on my CROM if I don't touch these very properties, my CROM continues to push its own dead fingerprint. It's absolutely necessary. Installing PIFF don't do anything about that because it's not the right properties

@osm0sis
Copy link
Owner

osm0sis commented Oct 5, 2024

Oh weird, I was just going on what @joeyhuab told me from EvoX. Maybe things have further deviated from there? Thoughts @joeyhuab? 🤔

@osm0sis osm0sis reopened this Oct 5, 2024
@osm0sis osm0sis changed the title Update common_setup.sh Add additional PixelPropsUtils props to workaround Oct 5, 2024
@osm0sis
Copy link
Owner

osm0sis commented Oct 6, 2024

@bphd Is the .gapps one for certain necessary in your setup? Seems like .pi and .gms would cover it where we only ever spoof to GMS.

@bphd
Copy link
Author

bphd commented Oct 6, 2024

@bphd Is the .gapps one for certain necessary in your setup? Seems like .pi and .gms would cover it where we only ever spoof to GMS.

Idk really. Tested with both as it was already a big journey enough to debug my way out. Cross testing that would have been even heavier

You have two choice, either apply both of them and wait for user complain to have lost functionalities to revert (but I lost none on my part). Either apply one of them and user will still think that PIFF don't patch their case and wouldn't know how to help themselves (because it's honestly not obvious to find such properties, so maybe applying them both would take a thorn out of one's foot that they don't even think they would have been able to do themselves)

Personally I suggest the former, it's really not that big of a risk for a sure reward

@osm0sis
Copy link
Owner

osm0sis commented Oct 6, 2024

You can't just quickly test it without the .gapps entry on your setup?

@bphd
Copy link
Author

bphd commented Oct 6, 2024

You can't just quickly test it without the .gapps entry on your setup?

It's not quick, so can't be done "quickly", and no I can't test, I switched CROM

I suggest you the former to actually help people getting device integrity and avoid them weeks-month of helplessness

@osm0sis osm0sis merged commit d8ff58d into osm0sis:main Oct 6, 2024
1 check passed
@osm0sis
Copy link
Owner

osm0sis commented Nov 3, 2024

@bphd What ROM was the behavior you were seeing on, by the way? I'd like to recreate it and check some things in the logs. 👍

@bphd
Copy link
Author

bphd commented Nov 7, 2024

@bphd What ROM was the behavior you were seeing on, by the way? I'd like to recreate it and check some things in the logs. 👍

Old version of Matrixx. But it still is in operation on many CROM latest version. You can figure out where it still is operative simply by searching such properties on GitHub. Repositories where it still hasn't changes still is in effect. But as of today, new variable are used but the problem remains the same for CROM that still try to inject FP/KB by themselves or tweak properties where not needed. Or worse, refuse any Google attestation and call it a day, that less to support ig

@osm0sis
Copy link
Owner

osm0sis commented Nov 7, 2024

@bphd Thanks, what version of Matrixx though? My point was some versions of PPU will work with what I had in the first place and some will only work after what you've added, so I want to make sure I'm using the exact one you had.

@osm0sis
Copy link
Owner

osm0sis commented Jan 2, 2025

I tried official Matrixx builds for hotdogb from here: https://sourceforge.net/projects/projectmatrixx/files/Android-14/hotdogb/

Went through v10.5.3, v10.6.2, v10.7.3, v10.8.1, v10.9.0, v10.9.1 and v10.10.0 and I don't see any of the persist.sys.pixelprops.* props in question from our commits there. 🤔

@bphd
Copy link
Author

bphd commented Jan 4, 2025

by searching such properties on GitHub

@osm0sis
Copy link
Owner

osm0sis commented Jan 4, 2025

Sure, but it's pretty frustrating playing 20 questions with you and then having to do my own research when you've had the answer this whole time..

@osm0sis
Copy link
Owner

osm0sis commented Jan 4, 2025

I'm also surprised this commit worked for you at all since after searching GitHub as you suggested I don't see a single instance of both persist.sys.pixelprops.pi and persist.sys.pixelprops.gapps/persist.sys.pixelprops.gms being in the same version of PPU... 🤔

Anyway, found an old version of crDroid for one of my devices that should have gms/gapps props per their commit history, so I'll get it working. 😉

https://github.com/crdroidandroid/android_frameworks_base/blob/14.0-20240706/core/java/com/android/internal/util/crdroid/PixelPropsUtils.java#L38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants