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

android_frameworks_base-N.patch usable with LineageOS 21 (Android 14)? #266

Closed
Espionage724 opened this issue Apr 24, 2024 · 3 comments
Closed
Labels

Comments

@Espionage724
Copy link

Espionage724 commented Apr 24, 2024

I'm working on getting LineageOS 21 compiled, and the old command I had for that frameworks patch years ago gives an error (I'm thinking the command flags changed but I'll look at it more carefully later).

Command:

wget -O ~/'Downloads/UnifiedNlp-android_frameworks_base-N.patch' 'https://raw.githubusercontent.com/microg/android_packages_apps_UnifiedNlp/master/patches/android_frameworks_base-N.patch' && cd ~/'android/lineage-21.0' && patch --no-backup-if-mismatch --strip='1' --directory='frameworks/base' < ~/'Downloads/UnifiedNlp-android_frameworks_base-N.patch'

Error:

can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?

I saw #256 though which has me wondering if that patch is still usable or needed?

@Espionage724
Copy link
Author

I read https://github.com/microg/GmsCore/wiki/Signature-Spoofing a bit more carefully and noticed the very bottom has a link to up-to-date patches for LOS 21 https://github.com/lineageos4microg/docker-lineage-cicd/tree/master/src/signature_spoofing_patches

@Vavun
Copy link
Contributor

Vavun commented Apr 25, 2024

@Espionage724 btw lineageos sources already patched for microg
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/383573

@Espionage724
Copy link
Author

@Espionage724 btw lineageos sources already patched for microg https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/383573

Thanks, I forgot about that. I was interested in trying to get Location to work without having microG in /system/priv-app (is that still required with the official sig spoof support on LOS?) and thought there might be a patch for that.

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

No branches or pull requests

2 participants