From e22380ca24715af42274f4741ac33197076f6138 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 29 Aug 2025 20:30:34 +0200 Subject: [PATCH 1/8] lineage: Remove Android.mk guard for sdm660 Change-Id: I0e257d127173d90b43d259c0d4bc227940d58d97 --- snippets/lineage.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/snippets/lineage.xml b/snippets/lineage.xml index 542959d..3ac91fc 100644 --- a/snippets/lineage.xml +++ b/snippets/lineage.xml @@ -119,7 +119,6 @@ - From 8eb98ef96683bd784c17b7edd514ca677255fecb Mon Sep 17 00:00:00 2001 From: Yumi Yukimura Date: Mon, 1 Sep 2025 16:37:28 +0800 Subject: [PATCH 2/8] lineage: Remove Android.mk guard for msm8953 Change-Id: I07668fc370da7c689cf0e821f1a27d1e582e4b2e --- snippets/lineage.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/snippets/lineage.xml b/snippets/lineage.xml index 3ac91fc..795c9d2 100644 --- a/snippets/lineage.xml +++ b/snippets/lineage.xml @@ -113,7 +113,6 @@ - From a01587601d3e1a170e7d13ae3b4d061b127fa832 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Tue, 2 Sep 2025 12:12:17 -0400 Subject: [PATCH 3/8] lineage: Remove Android.mk guard for msm8998/sdm845 Change-Id: Ie3ac8ac3ad8d675d2a96e20b2c4de54b623ec992 --- snippets/lineage.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/snippets/lineage.xml b/snippets/lineage.xml index 795c9d2..e8f0b55 100644 --- a/snippets/lineage.xml +++ b/snippets/lineage.xml @@ -116,10 +116,8 @@ - - From 76804856112cffa4006a4b2bbbb0a9848adc2517 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 3 Sep 2025 14:43:52 +0300 Subject: [PATCH 4/8] manifest: September 2025 Security Update Change-Id: I555f427c3f1717da94cca32e36858a17cbcb038e --- default.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.xml b/default.xml index 035d404..7ac99c1 100644 --- a/default.xml +++ b/default.xml @@ -758,7 +758,7 @@ - + @@ -770,7 +770,7 @@ - + From 60e32f934082d5e0154f7a93d7b653cfa75807cc Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Tue, 9 Sep 2025 22:53:30 +0300 Subject: [PATCH 5/8] manifest: Remove sm7250 HAL guards Change-Id: Ie6003a6732b89dd87c97e5ecfb70e24939d1852c --- snippets/lineage.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snippets/lineage.xml b/snippets/lineage.xml index e8f0b55..c6b8c7d 100644 --- a/snippets/lineage.xml +++ b/snippets/lineage.xml @@ -74,10 +74,7 @@ - - - - + From 88f4b20e60b3f6206f2e943c33d876906d72343b Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 10 Sep 2025 18:17:14 +0300 Subject: [PATCH 6/8] manifest: Remove sm8150 HAL guards Change-Id: Id802bbb2220c6f0851fd094500b471fd40bbbbb5 --- snippets/lineage.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snippets/lineage.xml b/snippets/lineage.xml index c6b8c7d..e8be6a0 100644 --- a/snippets/lineage.xml +++ b/snippets/lineage.xml @@ -76,10 +76,7 @@ - - - - + From e3c809a4e4607e56cd350d6f554c01fe2eeae944 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 14 Sep 2025 11:34:50 +0300 Subject: [PATCH 7/8] manifest: Remove sdm845 HAL guards Change-Id: If89ac64e03cff7a9d6a894878afd95ccf151b4eb --- snippets/lineage.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snippets/lineage.xml b/snippets/lineage.xml index e8be6a0..6e0a33e 100644 --- a/snippets/lineage.xml +++ b/snippets/lineage.xml @@ -69,10 +69,7 @@ - - - - + From 7235927122cd52196799d89f772b7a71851473fe Mon Sep 17 00:00:00 2001 From: Vincent Vidal Date: Wed, 8 Jan 2020 13:48:28 +0100 Subject: [PATCH 8/8] init Change-Id: I46fc6701115be530acfe37c6b72730271c95e721 --- README.md | 55 +++++++++++++++++++++++++++++++++++++ README.mkdn | 36 ------------------------ default.xml | 65 ++++++++++++++++++++++---------------------- snippets/iode.xml | 20 ++++++++++++++ snippets/lineage.xml | 28 ++++++------------- 5 files changed, 116 insertions(+), 88 deletions(-) create mode 100644 README.md delete mode 100644 README.mkdn create mode 100644 snippets/iode.xml diff --git a/README.md b/README.md new file mode 100644 index 0000000..e71323d --- /dev/null +++ b/README.md @@ -0,0 +1,55 @@ +# iodéOS build instructions + +For the most part, building iodéOS is not much different than building [LineageOS](https://lineageos.org/). You can refer for example to LineageOS build instructions for [Pixel 5](https://wiki.lineageos.org/devices/redfin/build). Please note that these instructions concern devices officially supported by LineageOS: in order to build iodéOS for unsupported devices, you will have to create/modify a device tree for your phone. + +## Obtaining a basic build: differences with LineageOS instructions + +We list here the differences w.r.t. LineageOS build instructions, which are sufficient to obtain a running iodéOS build. + +### Part "Install the build packages" + +We use [Git LFS](https://git-lfs.github.com/) to maintain the `vendor/extra` repository where prebuilt applications are stored. You must install Git LFS on your system, for example the `git-lfs` package on Debian or Ubuntu. + + +### Part "Initialize the LineageOS source repository" + +To initialize the iodéOS source repository, you must replace the Android manifest repository in the `repo init ...` command: +``` +repo init -u https://gitlab.iode.tech/os/public/manifests/android.git -b v6-staging +``` +The branch `v6-staging` corresponds to the latest active development branch of iodéOS v6, and may be subject to deep changes. iodéOS official stable release branches will be added when available. + +### Part "Download the source code" + +After having sucessfully downloaded the sources with the `repo sync` command, you must download the Git LFS stored objects: +``` +cd vendor/extra +git lfs pull iode v6-staging +``` + +### That's all folks + +You can now start building iodéOS, after carefully following LineageOS build instructions. + +## Fine-tune your iodéOS build + +Some iodéOS features need some more work. + +### Make SafetyNet pass + +Due to recent changes in the way iodéOS pass safetynet, no more additionnal config is required: it should work out-of-the-box. + +### Sign your builds + +You can sign your builds with developer keys by creating a directory called `certs` at the root of your source tree, and generating signing keys in it (modify the `subject` variable in the code below). There is no need to modify iodéOS sources, in particular the `PRODUCT_DEFAULT_DEV_CERTIFICATE` variable will be modified accordingly. +``` +subject='/C=US/ST=France/L=Toulouse/O=iodeOS/OU=iodeOS/CN=iodeOS/emailAddress=suport@iode.tech' +mkdir certs +for x in releasekey platform shared media networkstack testkey; do \ + ./development/tools/make_key certs/$x "$subject"; \ +done +``` + +### Configure Smart Charging + +Smart charging has been removed, as there is now the new Charging Control feature in LineageOS. diff --git a/README.mkdn b/README.mkdn deleted file mode 100644 index 387260b..0000000 --- a/README.mkdn +++ /dev/null @@ -1,36 +0,0 @@ -LineageOS -=========== - -Getting started ---------------- - -To get started with Android/LineageOS, you'll need to get familiar with [Source Control Tools](https://source.android.com/setup/develop). - -To initialize your local repository using the LineageOS trees, use a command like this: -``` -repo init -u https://github.com/LineageOS/android.git -b lineage-22.2 --git-lfs -``` -Then to sync up: -``` -repo sync -``` -Please see the [LineageOS Wiki](https://wiki.lineageos.org/) for building instructions, by device. - - -Submitting patches ------------------- -Patches are always welcome! Please submit your patches via LineageOS Gerrit! - -Simply follow our guide on [how to submit patches](https://wiki.lineageos.org/submitting-patch-howto.html). - -To view the status of your and others' patches, visit [LineageOS Gerrit Code Review](https://review.lineageos.org/). - - -Buildbot --------- - -All supported devices are built weekly and periodically as changes are committed to ensure the source trees remain buildable. - -You can view the current build statuses at [LineageOS Buildkite](https://buildkite.com/lineageos). - -Builds produced weekly by the buildbot can be downloaded from [LineageOS downloads](https://download.lineageos.org/). diff --git a/default.xml b/default.xml index 7ac99c1..c87ff01 100644 --- a/default.xml +++ b/default.xml @@ -2,26 +2,31 @@ - - + sync-c="true" + sync-j="10" /> + sync-j="20" /> + + - + @@ -37,14 +42,14 @@ - + - + - + @@ -324,8 +329,6 @@ - - @@ -518,7 +521,7 @@ - + @@ -597,7 +600,7 @@ - + @@ -612,7 +615,7 @@ - + @@ -624,7 +627,7 @@ - + @@ -658,14 +661,14 @@ - + - + @@ -690,7 +693,6 @@ - @@ -712,9 +714,9 @@ - + - + @@ -734,7 +736,7 @@ - + @@ -743,28 +745,27 @@ - + - - + - + - + @@ -774,10 +775,10 @@ - + - + @@ -823,21 +824,18 @@ - - - @@ -889,7 +887,7 @@ - + @@ -926,7 +924,7 @@ - + @@ -1015,4 +1013,5 @@ + diff --git a/snippets/iode.xml b/snippets/iode.xml new file mode 100644 index 0000000..72b15b5 --- /dev/null +++ b/snippets/iode.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + diff --git a/snippets/lineage.xml b/snippets/lineage.xml index 6e0a33e..e67ea66 100644 --- a/snippets/lineage.xml +++ b/snippets/lineage.xml @@ -2,10 +2,9 @@ - - + @@ -24,11 +23,11 @@ - + - - + + @@ -37,26 +36,25 @@ - + - - + - + - + - + @@ -203,14 +201,6 @@ - - - - - - - -