From c04f0e7f28c0b0fadd984ca18dbb49f8539dc343 Mon Sep 17 00:00:00 2001 From: MD Raza Date: Sun, 26 Sep 2021 23:00:10 +0530 Subject: [PATCH 1/7] manifest: cleanup Signed-off-by: MD Raza --- GLOBAL-PREUPLOAD.cfg | 17 --- README.md | 24 ++-- default.xml | 33 +++-- omni-aosp.xml | 92 ------------- omni-caf.xml | 16 --- omni-default.xml | 45 ------- omni-extra.xml | 7 - pbrp.xml => pbrp-extras.xml | 35 +++-- remove-minimal.xml | 261 +++++++++++++----------------------- remove.xml | 66 ++------- 10 files changed, 164 insertions(+), 432 deletions(-) delete mode 100644 GLOBAL-PREUPLOAD.cfg delete mode 100644 omni-aosp.xml delete mode 100644 omni-caf.xml delete mode 100644 omni-default.xml delete mode 100644 omni-extra.xml rename pbrp.xml => pbrp-extras.xml (62%) diff --git a/GLOBAL-PREUPLOAD.cfg b/GLOBAL-PREUPLOAD.cfg deleted file mode 100644 index e27f1fe..0000000 --- a/GLOBAL-PREUPLOAD.cfg +++ /dev/null @@ -1,17 +0,0 @@ -# Settings in here control defaults for `repo upload` checks for all projects -# listed in the manifest. Do not turn on things here without first consulting -# the wider Android team, and make sure you send out a PSA before landing. - -[Options] -ignore_merged_commits = true - -[Builtin Hooks] -commit_msg_test_field = false - -[Tool Paths] -clang-format = ${REPO_ROOT}/prebuilts/clang/host/${BUILD_OS}/clang-stable/bin/clang-format -git-clang-format = ${REPO_ROOT}/prebuilts/clang/host/${BUILD_OS}/clang-stable/bin/git-clang-format -gofmt = ${REPO_ROOT}/prebuilts/go/${BUILD_OS}/bin/gofmt -google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format -google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py -cpplint = ${REPO_ROOT}/external/google-styleguide/cpplint/cpplint.py diff --git a/README.md b/README.md index aa9f64f..a579412 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Documentation - + @@ -78,14 +78,20 @@ - Password Recovery etc ## How To Build +To get started with AOSP sources to build PitchBlack, you'll need to get familiar +with [Git and Repo](https://source.android.com/source/using-repo.html). - -```bash -# Initialize the latest stable branch -$ repo init -u git://github.com/PitchBlackRecoveryProject/manifest_pb -b android-11.0 - -# Sync the latest stable branch -$ repo sync +To initialize your local repository using the AOSP trees to build PitchBlack, use a command like this: +``` +repo init -u git://github.com/PitchBlackRecoveryProject/manifest_pb -b android-11.0 +``` +To initialize a shallow clone, which will save even more space, use a command like this: +``` +repo init --depth=1 -u git://github.com/PitchBlackRecoveryProject/manifest_pb -b android-11.0 +``` +Sync the latest stable branch +``` +repo sync ``` Follow our omni_device.mk sample @@ -98,7 +104,7 @@ Follow our omni_device.mk sample $ cd $ . build/envsetup.sh $ lunch omni_-eng -$ mka recoveryimage +$ mka pbrp ```` ## Become Official Maintainer diff --git a/default.xml b/default.xml index 18601e4..b9c3344 100644 --- a/default.xml +++ b/default.xml @@ -7,7 +7,7 @@ + sync-j="4" /> @@ -57,10 +57,17 @@ + + + + + + + @@ -71,12 +78,8 @@ - - - - @@ -330,7 +333,7 @@ - + @@ -514,7 +517,6 @@ - @@ -534,6 +536,12 @@ + + + + + + @@ -551,6 +559,7 @@ + @@ -626,7 +635,7 @@ - + @@ -682,10 +691,12 @@ + + @@ -820,6 +831,8 @@ - - + + + + diff --git a/omni-aosp.xml b/omni-aosp.xml deleted file mode 100644 index 336b4f5..0000000 --- a/omni-aosp.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/omni-caf.xml b/omni-caf.xml deleted file mode 100644 index 934ba41..0000000 --- a/omni-caf.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - diff --git a/omni-default.xml b/omni-default.xml deleted file mode 100644 index 8f9adbd..0000000 --- a/omni-default.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/omni-extra.xml b/omni-extra.xml deleted file mode 100644 index 19006c7..0000000 --- a/omni-extra.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/pbrp.xml b/pbrp-extras.xml similarity index 62% rename from pbrp.xml rename to pbrp-extras.xml index 955c8da..18b122b 100644 --- a/pbrp.xml +++ b/pbrp-extras.xml @@ -1,7 +1,7 @@ + fetch="https://github.com/PitchBlackRecoveryProject" /> + review="https://review.lineageos.org" /> + + + + + @@ -21,25 +26,37 @@ + - + + - - + + + + - + + + + - - + + + + + + + diff --git a/remove-minimal.xml b/remove-minimal.xml index 9d0ca32..a035126 100644 --- a/remove-minimal.xml +++ b/remove-minimal.xml @@ -1,20 +1,25 @@ + + + + + + + + + + + + + + + + + - - + - - - - - - - @@ -24,50 +29,37 @@ - - - - - - - - - - - - - @@ -83,14 +75,11 @@ - - - @@ -100,40 +89,30 @@ - - - - - - - - - - @@ -142,15 +121,14 @@ - - + @@ -161,32 +139,24 @@ - - - + - - - - - - @@ -199,112 +169,121 @@ - - - - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - + + - + + + - - + - - - - - + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - + + - + + + @@ -318,19 +297,16 @@ - - + - - @@ -342,96 +318,41 @@ - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/remove.xml b/remove.xml index a1ad69b..680df35 100644 --- a/remove.xml +++ b/remove.xml @@ -1,12 +1,10 @@ - - + + - - @@ -42,11 +40,8 @@ - - - - - + + @@ -59,33 +54,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -98,7 +67,6 @@ - @@ -108,21 +76,16 @@ - - - - - @@ -132,11 +95,8 @@ - - - @@ -145,23 +105,15 @@ - + - - - - - - - - - - - + + + From 8d7be9252068e62b8a6a46b4beafe61f5c64d66b Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Sat, 23 Oct 2021 14:11:22 -0400 Subject: [PATCH 2/7] Use TeamWin repo for system_sepolicy Change-Id: Ibd3865ca93988497dda851b0b280aa4826776a7f --- pbrp-extras.xml | 3 +++ remove-minimal.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/pbrp-extras.xml b/pbrp-extras.xml index 18b122b..4665d80 100644 --- a/pbrp-extras.xml +++ b/pbrp-extras.xml @@ -37,6 +37,9 @@ + + + diff --git a/remove-minimal.xml b/remove-minimal.xml index a035126..1365ea7 100644 --- a/remove-minimal.xml +++ b/remove-minimal.xml @@ -318,6 +318,7 @@ + From 0dee273b11b044d345600f3d9f258b2809d057d0 Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Sat, 23 Oct 2021 14:26:03 -0400 Subject: [PATCH 3/7] Fix comment on system_sepolicy repo --- pbrp-extras.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbrp-extras.xml b/pbrp-extras.xml index 4665d80..c7949da 100644 --- a/pbrp-extras.xml +++ b/pbrp-extras.xml @@ -37,7 +37,7 @@ - + From 95439e2cc787a9d36d5f0c80387e0a6900d8118b Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Fri, 19 Nov 2021 10:22:27 -0500 Subject: [PATCH 4/7] Add @phhusson's lptools repo for lptools support Change-Id: I6bf0d0bf0f48f902a2e17afdd777797f6ad14479 --- pbrp-extras.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pbrp-extras.xml b/pbrp-extras.xml index c7949da..d18049f 100644 --- a/pbrp-extras.xml +++ b/pbrp-extras.xml @@ -40,6 +40,9 @@ + + + From 3ad256532d3fc9f0fe4ae6449ae74deb92dc2c5e Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Fri, 24 Dec 2021 10:42:23 -0500 Subject: [PATCH 5/7] twrp-extras: add qcom common repos Change-Id: I4bbb6e7584920267d12180f3aab11249a04057e8 --- pbrp-extras.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pbrp-extras.xml b/pbrp-extras.xml index d18049f..5f98fc5 100644 --- a/pbrp-extras.xml +++ b/pbrp-extras.xml @@ -67,4 +67,12 @@ + + + + + + + + From ff11880361cbf3887cfd627a51eb6e082d2274cc Mon Sep 17 00:00:00 2001 From: Antonino Scordino Date: Sat, 26 Mar 2022 16:30:29 +0100 Subject: [PATCH 6/7] README: Replace `git://` with `https://` - git:// has been deprecated by GitHub: * fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. manifests: sleeping 4.0 seconds before retrying - Switch to https://, since people may get confused while copy-pasting commands. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a579412..20c7194 100644 --- a/README.md +++ b/README.md @@ -83,11 +83,11 @@ with [Git and Repo](https://source.android.com/source/using-repo.html). To initialize your local repository using the AOSP trees to build PitchBlack, use a command like this: ``` -repo init -u git://github.com/PitchBlackRecoveryProject/manifest_pb -b android-11.0 +repo init -u https://github.com/PitchBlackRecoveryProject/manifest_pb -b android-11.0 ``` To initialize a shallow clone, which will save even more space, use a command like this: ``` -repo init --depth=1 -u git://github.com/PitchBlackRecoveryProject/manifest_pb -b android-11.0 +repo init --depth=1 -u https://github.com/PitchBlackRecoveryProject/manifest_pb -b android-11.0 ``` Sync the latest stable branch ``` From 75eb3a612e7c401c5109b955ff6e94ea7f5f6ffc Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Sun, 3 Jul 2022 13:03:22 -0400 Subject: [PATCH 7/7] Add python3 repo --- pbrp-extras.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pbrp-extras.xml b/pbrp-extras.xml index 5f98fc5..a6561ee 100644 --- a/pbrp-extras.xml +++ b/pbrp-extras.xml @@ -46,7 +46,9 @@ - + + +