Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP, DO NOT MERGE, Dualboot: Sos 3.x dualboot #1

Open
wants to merge 21 commits into
base: sos-3.x
Choose a base branch
from

Conversation

luka177
Copy link

@luka177 luka177 commented Oct 15, 2021

No description provided.

Linux Build Service Account and others added 21 commits February 7, 2021 10:14
Change-Id: I37f7ab0cb88b25f6595ea2d534d2a33f1fdb41fe
Change-Id: I49a9b9c33ab2a3a270616b3738194653834423f0
Change-Id: I0f0a87b2f27dd22b62cfe9eb7d42e5803d85a6df
Change-Id: I8c2243f26ac741441979e2253e44af742fd02cdb
Change-Id: I723f22aeae61b58a654a62814a118967d02eb750
Change-Id: Id28855144e1709037fe2bdd82323387cd5e4885d
Commands used to generate the data:
 - avbtool extract_public_key --key key_rsa4096.pem --output key_rsa4096.pub
 - bin2c key_rsa4096.pub

Change-Id: Icbfab99d9e1e6e230746ad51f614d6fa26934e2c
Signed-off-by: Alexander Martinz <[email protected]>
POWER + VOL UP   -> Bootloader
POWER + VOL DOWN -> Recovery

Change-Id: I6299ed3960fbc20fb947474ede1d41710270a049
Signed-off-by: Alexander Martinz <[email protected]>
We believe in the right to run any software on the hardware you own.

Change-Id: I740e05b9e780c5de0067b56b8b0815a8c44a9aeb
Signed-off-by: Alexander Martinz <[email protected]>
Change-Id: I9fd80ffe70c139af9838617e8f8892a38192774c
Signed-off-by: Alexander Martinz <[email protected]>
"oem" is a partition where device specific values are stored,
such as "serial number", "hardware revision", ...

This change allows retrieving the partition guid of "oem",
which will be used in future changes.

Change-Id: Ic0b70a312d22cc0eaaf4eaad50c2997de45a6e7d
Signed-off-by: Alexander Martinz <[email protected]>
This change reads the serial number from "oem" partition
and passes it on to the system.

If the serial number can not be read from "oem" partition,
it falls back to calculate a serial number based on UFS storage.

Change-Id: I8f48ab166330e56efc1bc7603da51fab172de5ad
Signed-off-by: Alexander Martinz <[email protected]>
Set "androidboot.hardware.revision", which is automatically
picked up by init, which sets "ro.boot.hardware.revision", which is
used by userspace already.

If HW revision can not be read, fall back to "10000".

Change-Id: Ia73d0e7e1755f2c346a9993eadaf4baf18a0d145
Signed-off-by: Alexander Martinz <[email protected]>
Show hardware revision in the bootloader fastboot menu.

Change-Id: I011952064b4c90bdd2f6c3d9ee54fc3db385145a
Signed-off-by: Alexander Martinz <[email protected]>
Change-Id: If26fcc711aa81f4e1a930c2d319cfe0b0f8b71a9
Signed-off-by: Alexander Martinz <[email protected]>
Use yellow for Fastboot mode and conditionalize color for DEVICE STATE:
  - green when locked
  - red when unlocked

Change-Id: I970af3e2dfd1e84a04f4812a61f44ea82cc456e6
Signed-off-by: Alexander Martinz <[email protected]>
Change-Id: I3f669841e4c91ac44f6d19db73005d981269fdac
Signed-off-by: Alexander Martinz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants