-
Notifications
You must be signed in to change notification settings - Fork 198
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 support for Lineageos 17.1 #70
Closed
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3e8c452
update to support lineage 17.1
SolidHal 64b6d19
Add keys for networkstack
leonghui 72e7a84
Don't include keys in PRODUCT_EXTRA_RECOVERY_KEYS, causes build signi…
SolidHal 9a0b702
breakfast before userscripts so that all repos are available for patc…
SolidHal 5e5cf82
Add android Q sig spoofing patch
SolidHal 009cbfa
Add env var to extract the boot image
SolidHal 510c2dd
Move before script and breakfast to inside the device loop so $codena…
SolidHal e23f8db
Merge pull request #1 from SolidHal/lineageos-17.1
SolidHal 0e79af9
Add in support for unifiednlp patch
SolidHal e1548e0
Add readme entry for BOOT_IMG env var
SolidHal c36d20f
Merge pull request #2 from SolidHal/lineageos-17.1
SolidHal ad8c854
Add default unifiednlp support value
SolidHal ea1282f
Fix type in ccache exec path
SolidHal 28ad284
Merge pull request #3 from SolidHal/master
SolidHal 2346c00
Add info for WITH_SU flag on lineage-17.1
SolidHal f4b1f77
Merge pull request #4 from SolidHal/master
SolidHal 7107f63
Update README to include how to build in fork of microg for lineageos…
SolidHal d040c9e
Don't redefine the github remote
SolidHal c229eb7
Suggest using prebuilts provided by OmniRom for now, until
SolidHal bb3816b
use fork of prebuilt apps to remove the MICROG build flag requirement
SolidHal 4b10fb2
increase the java vm heap memory limit, not doing this breaks builds …
SolidHal 2095f4e
remove opendelta support, opendelta seems to have been dropped from o…
SolidHal 77f20ef
Send some User-Agent other than "Python-urllib"
evan-goode a672434
initial new microg build
SolidHal 306f66b
don't suggest building in microg
SolidHal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/location_services_patches/android_frameworks_base-N.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/services/core/java/com/android/server/ServiceWatcher.java b/services/core/java/com/android/server/ServiceWatcher.java | ||
index 383e25a..31ae918 100644 | ||
--- a/services/core/java/com/android/server/ServiceWatcher.java | ||
+++ b/services/core/java/com/android/server/ServiceWatcher.java | ||
@@ -92,8 +92,7 @@ public class ServiceWatcher implements ServiceConnection { | ||
String pkg = initialPackageNames.get(i); | ||
try { | ||
HashSet<Signature> set = new HashSet<Signature>(); | ||
- Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.MATCH_SYSTEM_ONLY | ||
- | PackageManager.GET_SIGNATURES).signatures; | ||
+ Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES).signatures; | ||
set.addAll(Arrays.asList(sigs)); | ||
sigSets.add(set); | ||
} catch (NameNotFoundException e) { |
16 changes: 16 additions & 0 deletions
16
src/location_services_patches/android_frameworks_base-Q.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/services/core/java/com/android/server/ServiceWatcher.java b/services/core/java/com/android/server/ServiceWatcher.java | ||
index e3dc3b7a984..d72fc64dbcd 100644 | ||
--- a/services/core/java/com/android/server/ServiceWatcher.java | ||
+++ b/services/core/java/com/android/server/ServiceWatcher.java | ||
@@ -87,9 +87,8 @@ public class ServiceWatcher implements ServiceConnection { | ||
ArrayList<HashSet<Signature>> signatureSets = new ArrayList<>(packageNames.length); | ||
for (String packageName : packageNames) { | ||
try { | ||
- Signature[] signatures = pm.getPackageInfo(packageName, | ||
- PackageManager.MATCH_SYSTEM_ONLY | ||
- | PackageManager.GET_SIGNATURES).signatures; | ||
+ Signature[] signatures = pm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES).signatures; | ||
+ | ||
|
||
HashSet<Signature> set = new HashSet<>(); | ||
Collections.addAll(set, signatures); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be enabled by default IMHO.
Microg users likely want to use or at least be able to use UnifiedNLP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree.