Philip Nagler-Frank
f6b0805fb2
Merge pull request #178 from bananer/permissioncontroller_spoofing
...
Don't patch PermissionController for restricted signature spoofing
2021-06-17 15:17:31 +02:00
Philip Nagler-Frank
bb38f8274e
Merge branch 'master' into permissioncontroller_spoofing
2021-06-17 15:17:23 +02:00
Philip Nagler-Frank
214c038d24
Merge pull request #174 from bananer/shellcheck
...
Improvements suggested by Shellcheck
2021-06-17 15:16:13 +02:00
Philip Nagler-Frank
7ce6026f04
Merge pull request #153 from bananer/docs_for_ota
...
Better documentation on how to set up OTA updates
2021-06-17 15:15:56 +02:00
Philip Nagler-Frank
3dea7d7976
Merge pull request #152 from bananer/build_props
...
copy build.prop file together with zip
2021-06-17 15:15:38 +02:00
Philip Nagler-Frank
bde815981f
Don't patch PermissionController for restricted signature spoofing
2021-05-07 08:27:09 +02:00
Philip Nagler-Frank
0438f3f0a6
SC2115: Use "${var:?}" to ensure this never expands to /* .
2021-04-13 16:22:49 +02:00
Philip Nagler-Frank
95ebd38f3d
SC2061: Quote the parameter to -name so the shell won't interpret it.
2021-04-13 16:18:16 +02:00
Philip Nagler-Frank
f58473f4cd
SC2143: Use grep -q instead of comparing output with [ -n .. ].
2021-04-13 16:16:17 +02:00
Philip Nagler-Frank
969d55e44f
SC2237: Use [ -n .. ] instead of ! [ -z .. ].
2021-04-13 16:09:46 +02:00
Philip Nagler-Frank
4aabdabd43
SC2086: Double quote to prevent globbing and word splitting.
2021-04-13 16:00:12 +02:00
Philip Nagler-Frank
738e9b1bd1
SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
2021-04-13 15:59:22 +02:00
Philip Nagler-Frank
b4ee898f3f
Add support for building Lineage 18.1 ( #148 )
...
* add patches for android R
* don't request user input when patching
* update names of branches and devices in readme
* fail fast when patch does not apply cleanly
2021-04-01 15:49:45 +02:00
Pete Fotheringham
17d572cff6
Update build_manifest.py to get rid of python2->3 related error
2021-02-17 07:03:39 +00:00
Philip Nagler-Frank
78531e0d02
more details on how to set up OTA
2021-01-29 17:58:03 +01:00
Philip Nagler-Frank
cbf8560e3a
document ZIP_SUBDIR
2021-01-29 17:57:48 +01:00
Philip Nagler-Frank
17b2da63ec
copy build.prop file together with zip
2021-01-28 18:11:34 +01:00
DarÃo Hereñú
f012e2084b
README: Minor fix on line 03 ( #106 )
2021-01-19 12:38:20 +01:00
Philip Nagler-Frank
c565b41e0c
Update url to branch list in Dockerfile comment ( #117 )
...
Matches url in readme now
2021-01-19 12:37:05 +01:00
Philip Nagler-Frank
ded6b5d565
Align with Dockerfile best practices ( #147 )
...
* minimize number of layers in Dockerfile
* don't call apt-get upgrade in Dockerfile
* remove apt cache after installing packages in Dockerfile
* replace depreacted Maintainer field in Dockerfile
* copy files after adding dependencies
2021-01-19 12:35:51 +01:00
Benjamin Gaillard
c947aa6f63
Use recovery.img over boot.img if available (issue #134 ) ( #145 )
2021-01-19 09:44:59 +01:00
thrillfall
3792a9d3b2
move boot.img to output directory ( #136 )
...
Also move recovery image to out directory
2021-01-14 14:55:32 +01:00
Simon Polack
30405bb940
Fix ccache which is no longer shipped with AOSP
...
..by adding a ENV VAR pointing to the actual executable.
Taken out of StolenHal Pull Request.
2020-08-16 01:51:30 +02:00
Simon Polack
4f145950dd
Cleanup leftovers of opendelta
2020-08-16 01:44:51 +02:00
Simon Polack
aca1a10efb
Docker: Base on Ubuntu 20.04
2020-08-16 01:43:19 +02:00
SolidHal
90b3957918
Don't include keys in PRODUCT_EXTRA_RECOVERY_KEYS, causes build signing error
2020-08-15 22:52:19 +02:00
Simon Polack
1cc6a653cd
Add android Q sig spoofing patch
2020-08-15 19:16:05 +02:00
Simon Polack
4a18e077b3
Add keys for networkstack
...
Resolves error
FAILED: ninja: 'user-keys/networkstack.x509.pem', needed by 'out/soong/.intermediates/packages/modules/CaptivePortalLogin/CaptivePortalLogin/android_common/CaptivePortalLogin.apk', missing and no known rule to make it
See:
https://android-review.googlesource.com/q/I7257a472d702e82acdadffc4e0535c63a8bd591d
2020-08-15 19:16:05 +02:00
Simon Polack
60c8c9de4e
Define branch specifics statically instead of smart logic
2020-08-14 22:49:24 +02:00
SolidHal
d75cb19d8f
remove opendelta support, opendelta seems to have been dropped from omnirom
2020-08-14 21:22:02 +02:00
Simon Polack
9979eb1541
Merge pull request #75 from evan-goode/74-gitlab-user-agent
...
Send some User-Agent other than "Python-urllib"
2020-08-14 16:21:42 +02:00
Simon Polack
f4f07bc19f
Merge pull request #58 from petabyteboy/patch-1
...
Add clang
2020-08-14 16:20:04 +02:00
Evan Goode
1f9f92e22f
Send some User-Agent other than "Python-urllib"
...
Looks like GitLab is using CloudFlare to block requests of raw files from user agents matching "Python-urllib*". So we'll just send a generic browser user agent instead.
2020-04-11 10:14:54 -04:00
Nicola Corna
e724032a86
Add gitlab.com/the-muppets as additional source for proprietary files
...
Manifests can not be used as-is, as they have some incompatibilities
(like the re-define of the already existing "gitlab" remote) with the
build system.
2019-10-05 10:53:43 +02:00
Milan
c732a03857
Add clang
...
Some devices need clang to build successfully
2019-09-29 20:31:58 +02:00
Nicola Corna
481aefe6de
Update default branch from cm-14.1 to lineage-16.0
...
Also adjust the examples in the README.
2019-08-21 10:24:13 +02:00
Nicola Corna
c3478c3352
Remove openjdk-7
...
OpenJDK 7 was previously taken from the Debian experimental repo, but is
has been removed.
OpenJDK 7 is needed to build LineageOS/Cyanogenmod 11.0-13.0, so
support for those version is dropped.
2019-08-21 10:00:45 +02:00
Samuel Wein
50027d7dd2
Add support for building LineageOS-16.0 ( #30 )
...
* Added initial Android 9 / LineageOS 16.0 support
* Add muppets16 containing Lineage-16.0 themuppets repos. Updated src/build.sh to allow building Lineage-16.0
* [Fix] Fixed switch for which themuppets repo to use
* [Fix] TheMuppets now supplies 16.0 manifests. Deleting local copy
* [fix] Fixed signing builds in Lineage-16.0 and added kmod to the docker image. (thanks @corna for both)
* Fix Android < 9 builds
2019-04-19 07:14:16 +02:00
Nicola Corna
f1941a5aa5
Add bsdmainutils and cgpt
...
cgpt and hexdump (in the bsdmainutils package) are required by
brillo_update_payload.
2018-07-18 19:02:11 +02:00
Nicola Corna
fc32f54b3e
README fixes
2018-06-22 20:50:15 +02:00
Nicola Corna
1fba7e2e99
Move -maxdepth before -name in find calls
...
A warning message is displayed if -maxdepth is specified after -name.
2018-05-09 06:58:26 +02:00
Nicola Corna
de38c17ca3
Don't set IFS or shopt
...
Changing the default IFS or shopt creates issues when sourcing
build/envsetup.sh
Fixes #13 .
2018-05-09 06:55:07 +02:00
Nicola Corna
93cc0e5cb5
Fix LineageOS Updater URL
...
The Updater URL property and format has changed in e930cf7 (cm-14.1) and
5252d60 (lineage-15.1), now the full URL (plus the placeholders) must be
specified.
2018-04-17 07:03:36 +02:00
Nicola Corna
d39ed8fea2
Replace '! -z' with '-n'
2018-04-16 19:15:09 +02:00
Nicola Corna
4924220cb7
Use xargs -r
when removing the old repo logs
2018-03-17 18:19:30 +01:00
Nicola Corna
fb179acc0a
Override device-specific location providers settings
...
Some devices (currently addison, nx512j and oneplus3) set
config_enableNetworkLocationOverlay=false, binding permanently
com.qualcomm.location as location provider and forbidding us to use
com.google.gms as a location provider.
2018-03-16 18:23:01 +01:00
Nicola Corna
43e95e1720
Fix old file removal
2018-03-16 11:24:29 +01:00
Nicola Corna
7e1ccbb8d3
Remove old repo logs
2018-03-14 10:51:52 +01:00
Nicola Corna
1a467b6ddd
Rewrite README.md
2018-03-09 08:46:02 +01:00
Nicola Corna
5ffe75049a
Generate new signing keys when missing
2018-03-08 11:36:41 +01:00