Skip to content

Commit

Permalink
Why did the sailfish start a band?
Browse files Browse the repository at this point in the history
Because it had a great sense of scale and wanted to make some fin-tastic music!

Change-Id: I5ec2bb94b5ef60ae69940d7452d8650f4f549189
  • Loading branch information
ItsVixano authored and ponces committed Nov 28, 2023
1 parent c4fd721 commit 40520b8
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 71a83f2d5353b543eb359cb705376ebc8a96bd39 Mon Sep 17 00:00:00 2001
From cd327c27b8a1a83fcea489d9c3b3e1f8b44b0ddb Mon Sep 17 00:00:00 2001
From: Alberto Ponces <ponces26@gmail.com>
Date: Thu, 9 Nov 2023 12:33:55 +0100
Subject: [PATCH 1/9] gmscompat: Change attestation and instrumentation to pass
Expand Down Expand Up @@ -46,7 +46,7 @@ index e31486f18dbf..56ff16f6c358 100644

diff --git a/core/java/com/android/internal/gmscompat/AttestationHooks.java b/core/java/com/android/internal/gmscompat/AttestationHooks.java
new file mode 100644
index 000000000000..ebd9040b2781
index 000000000000..642453d29fd1
--- /dev/null
+++ b/core/java/com/android/internal/gmscompat/AttestationHooks.java
@@ -0,0 +1,108 @@
Expand Down Expand Up @@ -124,13 +124,13 @@ index 000000000000..ebd9040b2781
+
+ private static void spoofBuildGms() {
+ // Alter model name and fingerprint to avoid hardware attestation enforcement
+ setBuildField("PRODUCT", "bullhead");
+ setBuildField("DEVICE", "bullhead");
+ setBuildField("PRODUCT", "sailfish");
+ setBuildField("DEVICE", "sailfish");
+ setBuildField("MANUFACTURER", "Google");
+ setBuildField("BRAND", "google");
+ setBuildField("MODEL", "Nexus 5X");
+ setBuildField("FINGERPRINT", "google/bullhead/bullhead:8.0.0/OPR6.170623.013/4283548:user/release-keys");
+ setVersionField("DEVICE_INITIAL_SDK_INT", Build.VERSION_CODES.N);
+ setBuildField("MODEL", "Pixel");
+ setBuildField("FINGERPRINT", "google/sailfish/sailfish:8.1.0/OPM2.171019.029/4657601:user/release-keys");
+ setVersionField("DEVICE_INITIAL_SDK_INT", Build.VERSION_CODES.O_MR1);
+ }
+
+ public static void initApplicationBeforeOnCreate(Application app) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 6e25506d69156467be3fadb627f56a0fcea51f3a Mon Sep 17 00:00:00 2001
From 5361c7d6def46b986ac12385c79182ce9c969955 Mon Sep 17 00:00:00 2001
From: vladsendrix <83285656+vladsendrix@users.noreply.github.com>
Date: Fri, 31 Dec 2021 03:18:04 +0100
Subject: [PATCH 2/9] gmscompat: Spoof Pixel XL for Google Photos
Expand All @@ -9,7 +9,7 @@ Change-Id: I905e40625b07ebf500cbb3ce1deadedee2e624c5
1 file changed, 14 insertions(+)

diff --git a/core/java/com/android/internal/gmscompat/AttestationHooks.java b/core/java/com/android/internal/gmscompat/AttestationHooks.java
index ebd9040b2781..a6f490867bd9 100644
index 642453d29fd1..e3c9b920a5b5 100644
--- a/core/java/com/android/internal/gmscompat/AttestationHooks.java
+++ b/core/java/com/android/internal/gmscompat/AttestationHooks.java
@@ -31,6 +31,7 @@ public final class AttestationHooks {
Expand All @@ -21,7 +21,7 @@ index ebd9040b2781..a6f490867bd9 100644

private static volatile boolean sIsGms = false;
@@ -81,6 +82,15 @@ public final class AttestationHooks {
setVersionField("DEVICE_INITIAL_SDK_INT", Build.VERSION_CODES.N);
setVersionField("DEVICE_INITIAL_SDK_INT", Build.VERSION_CODES.O_MR1);
}

+ private static void spoofGooglePhotos() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d22ed47d0011f6699c119198fd0103ff3447edfa Mon Sep 17 00:00:00 2001
From 245a139f6031dace8d8fef4fbe95468ab34c49e9 Mon Sep 17 00:00:00 2001
From: Alberto Ponces <ponces26@gmail.com>
Date: Sun, 26 Feb 2023 22:13:35 +0000
Subject: [PATCH 3/9] monet: Use Style.SPRITZ by default
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From fefd3fe577e6ae2d41a9f3db68366c6c0b39204f Mon Sep 17 00:00:00 2001
From ccffc5273d151e71f55c8ef0e0e77b9d40bf46f7 Mon Sep 17 00:00:00 2001
From: dhacker29 <dhackerdvm@gmail.com>
Date: Tue, 24 Nov 2015 01:53:47 -0500
Subject: [PATCH 4/9] fw/b: Use ro.build.version.incremental to signal OTA
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 6aa41f2f3dbc5779dc9220ad5c511f3b236d590a Mon Sep 17 00:00:00 2001
From 061b9e98c54f31c65b445b4135a7b1b2a6c8e425 Mon Sep 17 00:00:00 2001
From: Anay Wadhera <anay1018@gmail.com>
Date: Sun, 13 Nov 2022 10:42:03 -0500
Subject: [PATCH 5/9] SystemUI: fix SliceView layout
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e5b6d76853682e27b42b17c6e9e886267a91ad1c Mon Sep 17 00:00:00 2001
From cd6d41438a0fbbcf3a890c1be94b5e313ce6f7da Mon Sep 17 00:00:00 2001
From: Janson Kang <temasek71@gmail.com>
Date: Mon, 14 Dec 2015 11:13:24 +0800
Subject: [PATCH 6/9] Add "android.permission.READ_PHONE_STATE" to manifest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From b7ebcf9cef11663a1668d963b79eec23a0d2a2a8 Mon Sep 17 00:00:00 2001
From 096be39633f75f75675ac85295f48cc174d2599e Mon Sep 17 00:00:00 2001
From: Alberto Ponces <ponces26@gmail.com>
Date: Sun, 5 Mar 2023 17:54:25 +0000
Subject: [PATCH 7/9] permissions: Pre-grant google restore permissions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 81918273d7f8eceb262085d386a13d241f4e9d68 Mon Sep 17 00:00:00 2001
From dbdf56f56ad0c7f618068156fa29bc278244c4f0 Mon Sep 17 00:00:00 2001
From: maxwen <max.weninger@gmail.com>
Date: Fri, 22 Oct 2021 14:55:26 +0200
Subject: [PATCH 8/9] feat: Add Lockscreen Weather with OmniJaws (1/2)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 088017d8bcadea13a48eb2661629758d03b68031 Mon Sep 17 00:00:00 2001
From e23e1f5744bccaa503dfb01c3756afd03edf40c9 Mon Sep 17 00:00:00 2001
From: Chris Crump <chriscrawford893@gmail.com>
Date: Tue, 1 Nov 2022 17:27:48 -0400
Subject: [PATCH 9/9] feat: Add Face Unlock with ParanoidSense (1/2)
Expand Down

0 comments on commit 40520b8

Please sign in to comment.