Skip to content
This repository was archived by the owner on Mar 6, 2022. It is now read-only.

Commit ddbb571

Browse files
committed
updates for android 12
* update go dependencies * add libarchive-tools for apv and drop debugfs * add OVERRIDE_TARGET_FLATTEN_APEX=true to ensure flattened apex * add additional APKs for signing (OsuLogin.apk,ServiceConnectivityResources.apk,ServiceWifiResources.apk) * change over to using binary version of release tools with embedded python interpreter * update release output metadata to match expected upstream updater format
1 parent 29e6f8c commit ddbb571

File tree

8 files changed

+562
-179
lines changed

8 files changed

+562
-179
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/golang:1.16
5+
- image: circleci/golang:1.17
66

77
steps:
88
- checkout

AOSP_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.0
1+
12.0

Makefile

-5
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ clean:
4848
rm -Rf build
4949

5050
tools:
51-
go get golang.org/x/lint/golint
52-
go get github.com/axw/gocov/gocov
53-
go get github.com/matm/gocov-html
54-
go get github.com/tools/godep
5551
go get github.com/mitchellh/gox
5652

5753
deps:
@@ -64,7 +60,6 @@ vet:
6460
go vet ${PKGS}
6561

6662
lint:
67-
golint ${PKGS}
6863
golangci-lint run cmd/... internal/... || true
6964

7065
fmt:

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Build your own customized Android OS for Google Pixel phones using [AWS](https://aws.amazon.com/) cloud infrastructure. The default OS that this tools builds without any customizations is called `RattlesnakeOS`. If there is something you don't like about the default OS, you can add customizations on top of it or start with a completely blank slate and build your own OS.
22

33
## Features
4-
* Support for Google Pixel phones
5-
* Based on latest [AOSP](https://source.android.com/) 11.0
4+
* Based on latest [AOSP](https://source.android.com/) 12.0
5+
* Supports Google Pixel phones
66
* Software and firmware security updates delivered through built in OTA updater
77
* Maintains [verified boot](https://source.android.com/security/verifiedboot/) with a locked bootloader just like official Android but with your own personal signing keys
88
* Support for building latest stable Chromium [browser](https://www.chromium.org) and [webview](https://www.chromium.org/developers/how-tos/build-instructions-android-webview)
9-
* Support for custom OS builds
9+
* Supports OS customization
1010

1111
## Overview
1212
The default OS built by this tool, `RattlesnakeOS`, is just stock AOSP and has all the baseline privacy and security features from there. Unlike other alternative Android OSes, it aims to keep security on par with stock Android by keeping critical security features like verified boot enabled and ensuring monthly OTA security updates not only update the OS but also the device specific drivers and firmware.

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.0.15
1+
12.0.1

go.mod

+45-21
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,56 @@
11
module github.com/dan-v/rattlesnakeos-stack
22

3-
go 1.16
3+
go 1.17
44

55
require (
6-
github.com/aws/aws-sdk-go-v2 v1.2.0
7-
github.com/aws/aws-sdk-go-v2/config v1.1.1
8-
github.com/aws/aws-sdk-go-v2/service/ec2 v1.1.1
9-
github.com/aws/aws-sdk-go-v2/service/iam v1.1.1
10-
github.com/aws/aws-sdk-go-v2/service/lambda v1.1.1
11-
github.com/aws/aws-sdk-go-v2/service/s3 v1.2.0
12-
github.com/aws/aws-sdk-go-v2/service/sns v1.1.1
13-
github.com/fatih/color v1.10.0
14-
github.com/fsnotify/fsnotify v1.4.9 // indirect
6+
github.com/aws/aws-sdk-go-v2 v1.10.0
7+
github.com/aws/aws-sdk-go-v2/config v1.9.0
8+
github.com/aws/aws-sdk-go-v2/service/ec2 v1.20.0
9+
github.com/aws/aws-sdk-go-v2/service/iam v1.11.0
10+
github.com/aws/aws-sdk-go-v2/service/lambda v1.10.0
11+
github.com/aws/aws-sdk-go-v2/service/s3 v1.17.0
12+
github.com/aws/aws-sdk-go-v2/service/sns v1.9.0
13+
github.com/fatih/color v1.13.0
14+
github.com/fsnotify/fsnotify v1.5.1 // indirect
1515
github.com/lunixbochs/vtclean v1.0.0 // indirect
16-
github.com/magiconair/properties v1.8.4 // indirect
16+
github.com/magiconair/properties v1.8.5 // indirect
1717
github.com/manifoldco/promptui v0.8.0
1818
github.com/mitchellh/go-homedir v1.1.0
19-
github.com/mitchellh/mapstructure v1.4.1 // indirect
20-
github.com/pelletier/go-toml v1.8.1 // indirect
21-
github.com/sirupsen/logrus v1.7.0
22-
github.com/spf13/afero v1.5.1 // indirect
23-
github.com/spf13/cast v1.3.1 // indirect
24-
github.com/spf13/cobra v1.1.1
19+
github.com/mitchellh/mapstructure v1.4.2 // indirect
20+
github.com/pelletier/go-toml v1.9.4 // indirect
21+
github.com/sirupsen/logrus v1.8.1
22+
github.com/spf13/afero v1.6.0 // indirect
23+
github.com/spf13/cast v1.4.1 // indirect
24+
github.com/spf13/cobra v1.2.1
2525
github.com/spf13/jwalterweatherman v1.1.0 // indirect
26-
github.com/spf13/viper v1.7.1
26+
github.com/spf13/viper v1.9.0
2727
github.com/stretchr/testify v1.7.0
28-
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c // indirect
29-
golang.org/x/text v0.3.5 // indirect
30-
gopkg.in/ini.v1 v1.62.0 // indirect
28+
golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70 // indirect
29+
golang.org/x/text v0.3.7 // indirect
30+
gopkg.in/ini.v1 v1.63.2 // indirect
3131
gopkg.in/yaml.v2 v2.4.0
3232
)
33+
34+
require (
35+
github.com/aws/aws-sdk-go-v2/credentials v1.5.0 // indirect
36+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.7.0 // indirect
37+
github.com/aws/aws-sdk-go-v2/internal/ini v1.2.5 // indirect
38+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.4.0 // indirect
39+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.4.0 // indirect
40+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.8.0 // indirect
41+
github.com/aws/aws-sdk-go-v2/service/sso v1.5.0 // indirect
42+
github.com/aws/aws-sdk-go-v2/service/sts v1.8.0 // indirect
43+
github.com/aws/smithy-go v1.8.1 // indirect
44+
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
45+
github.com/davecgh/go-spew v1.1.1 // indirect
46+
github.com/hashicorp/hcl v1.0.0 // indirect
47+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
48+
github.com/jmespath/go-jmespath v0.4.0 // indirect
49+
github.com/juju/ansiterm v0.0.0-20210929141451-8b71cc96ebdc // indirect
50+
github.com/mattn/go-colorable v0.1.11 // indirect
51+
github.com/mattn/go-isatty v0.0.14 // indirect
52+
github.com/pmezard/go-difflib v1.0.0 // indirect
53+
github.com/spf13/pflag v1.0.5 // indirect
54+
github.com/subosito/gotenv v1.2.0 // indirect
55+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
56+
)

0 commit comments

Comments
 (0)