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

Commit

Permalink
updates for android 12
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
dan-v committed Oct 29, 2021
1 parent 29e6f8c commit ddbb571
Show file tree
Hide file tree
Showing 8 changed files with 562 additions and 179 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/golang:1.16
- image: circleci/golang:1.17

steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion AOSP_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.0
12.0
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ clean:
rm -Rf build

tools:
go get golang.org/x/lint/golint
go get github.com/axw/gocov/gocov
go get github.com/matm/gocov-html
go get github.com/tools/godep
go get github.com/mitchellh/gox

deps:
Expand All @@ -64,7 +60,6 @@ vet:
go vet ${PKGS}

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

fmt:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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.

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

## Overview
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.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.0.15
12.0.1
66 changes: 45 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,32 +1,56 @@
module github.com/dan-v/rattlesnakeos-stack

go 1.16
go 1.17

require (
github.com/aws/aws-sdk-go-v2 v1.2.0
github.com/aws/aws-sdk-go-v2/config v1.1.1
github.com/aws/aws-sdk-go-v2/service/ec2 v1.1.1
github.com/aws/aws-sdk-go-v2/service/iam v1.1.1
github.com/aws/aws-sdk-go-v2/service/lambda v1.1.1
github.com/aws/aws-sdk-go-v2/service/s3 v1.2.0
github.com/aws/aws-sdk-go-v2/service/sns v1.1.1
github.com/fatih/color v1.10.0
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/aws/aws-sdk-go-v2 v1.10.0
github.com/aws/aws-sdk-go-v2/config v1.9.0
github.com/aws/aws-sdk-go-v2/service/ec2 v1.20.0
github.com/aws/aws-sdk-go-v2/service/iam v1.11.0
github.com/aws/aws-sdk-go-v2/service/lambda v1.10.0
github.com/aws/aws-sdk-go-v2/service/s3 v1.17.0
github.com/aws/aws-sdk-go-v2/service/sns v1.9.0
github.com/fatih/color v1.13.0
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/lunixbochs/vtclean v1.0.0 // indirect
github.com/magiconair/properties v1.8.4 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/manifoldco/promptui v0.8.0
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/pelletier/go-toml v1.8.1 // indirect
github.com/sirupsen/logrus v1.7.0
github.com/spf13/afero v1.5.1 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/cobra v1.1.1
github.com/mitchellh/mapstructure v1.4.2 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/sirupsen/logrus v1.8.1
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/cobra v1.2.1
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/viper v1.7.1
github.com/spf13/viper v1.9.0
github.com/stretchr/testify v1.7.0
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c // indirect
golang.org/x/text v0.3.5 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/ini.v1 v1.63.2 // indirect
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/aws/aws-sdk-go-v2/credentials v1.5.0 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.7.0 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.2.5 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.4.0 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.4.0 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.8.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.5.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.8.0 // indirect
github.com/aws/smithy-go v1.8.1 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/juju/ansiterm v0.0.0-20210929141451-8b71cc96ebdc // indirect
github.com/mattn/go-colorable v0.1.11 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
Loading

0 comments on commit ddbb571

Please sign in to comment.