No description
Find a file
Danny Lin 35dd4cf950 init: Set properties to make SafetyNet pass
This is a squash of the following commits.

  Author: Danny Lin <danny@kdrag0n.dev>
  Date:   Wed Oct 7 00:24:54 2020 -0700

      init: Set properties to make SafetyNet pass

      Google's SafetyNet integrity checks will check the values of these
      properties when performing basic attestation. Setting fake values helps
      us pass basic SafetyNet with no Magisk Hide or kernel patches necessary.

      Note that these properties need to be set very early, before parsing the
      kernel command-line, as they are read-only properties that the bootloader
      sets using androidboot kernel arguments. The bootloader's real values
      cause SafetyNet to fail with an unlocked bootloader and/or custom
      software because the verified boot chain is broken in that case.

      Change-Id: I66d23fd91d82906b00d5eb020668f01ae83ec31f
      Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>

  Author: Jarl-Penguin <jarlpenguin@outlook.com>
  Date:   Wed Jun 16 11:28:46 2021 +0000

      init: Don't spoof SafetyNet properties in recovery mode

      Change-Id: Ib6d3808c3b8f3e0cffab685a24d3cdd436b0fe9b

Change-Id: I0a219245b8e8f59ab1acc31068b4f8f98f708d81
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-04-17 23:11:59 +00:00
bootstat bootstat: avoid vector<const T> 2024-06-28 00:52:41 -07:00
cli-test [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
code_coverage Disable code_coverage.other for riscv64 2022-10-13 13:49:10 -07:00
debuggerd Android 15.0.0 Release 20 (BP1A.250305.019) 2025-03-09 07:31:20 +02:00
diagnose_usb Support building diagnose_usb against musl 2021-12-16 14:04:06 -08:00
fastboot Android 15.0.0 Release 20 (BP1A.250305.019) 2025-03-09 07:31:20 +02:00
fs_mgr Android 15.0.0 Release 20 (BP1A.250305.019) 2025-03-09 07:31:20 +02:00
gatekeeperd gatekeeperd_service_fuzzer: Add signal() to handle SIGPIPE 2024-11-29 15:02:21 +05:30
healthd Android 15.0.0 Release 20 (BP1A.250305.019) 2025-03-09 07:31:20 +02:00
include Remove include/backtrace symlink. 2020-10-20 12:46:14 -07:00
init init: Set properties to make SafetyNet pass 2025-04-17 23:11:59 +00:00
janitors Add maco to OWNERS. 2024-05-06 13:22:28 +00:00
libappfuse [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libasyncio Set min_sdk_version 2021-12-02 09:23:42 +09:00
libcrypto_utils Remove VNDK definition(s) 2024-03-15 08:19:44 +00:00
libcutils Revert "libprocessgroup: Remove schedtune support" 2025-03-10 13:28:31 -04:00
libgrallocusage Make apex_available explicit 2022-02-09 11:37:19 -08:00
libkeyutils Make libfs_mgr dependencies vendor_ramdisk_available. 2021-07-23 16:50:06 -07:00
libmodprobe libmodprobe: add support for dynamic module options 2024-10-25 09:27:45 +00:00
libnetutils Remove VNDK definition(s) 2024-03-15 08:19:44 +00:00
libpackagelistparser parse_line: allow -1 for apexes and sdk libraries. 2024-04-26 15:30:30 +00:00
libprocessgroup Revert "libprocessgroup: Remove schedtune support" 2025-03-10 13:28:31 -04:00
libsparse libsparse: Add simg2img_static target for host 2024-09-09 03:28:46 +03:00
libstats Merge "Remove libstats*_lazy tests from MTS" into main 2024-10-08 02:13:26 +00:00
libsuspend libsuspend: vendor_available. 2021-11-02 13:52:40 -07:00
libsync Remove NDK exports 2024-09-03 20:40:28 +00:00
libsystem Add COLOR_MODE_DISPLAY_BT2020 to graphics header. 2022-12-01 22:25:40 -08:00
libsysutils Android 15.0.0 Release 20 (BP1A.250305.019) 2025-03-09 07:31:20 +02:00
libusbhost Remove VNDK definition(s) 2024-03-15 08:19:44 +00:00
libutils libutils OWNERS for shayba@ 2024-11-26 23:44:17 +00:00
libvendorsupport Revert^2 "Deprecating libvendorsupport_llndk_headers" 2024-11-09 02:41:13 +00:00
libvndksupport try llndk-deprecate 2023-12-21 02:09:14 +00:00
llkd llkd: Include llkd-debuggable.rc in eng builds only 2024-09-09 03:28:46 +03:00
mini_keyctl Remove alanstokes@google.com from mini_keyctl/OWNERS 2024-07-09 21:12:32 +00:00
mkbootfs read() can return fewer bytes than requested 2024-10-30 10:35:52 -07:00
property_service Remove OEM_UNLOCK_PROP usage 2024-09-22 03:51:29 +00:00
reboot Define reboot.recovery and watchdogd.recovery 2024-12-06 23:18:18 +00:00
rootdir Revert "init: Remove schedtune support" 2025-03-13 20:11:40 +01:00
run-as run-as: remove a special case. 2023-11-10 22:02:00 +00:00
sdcard [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
shell_and_utilities Replace partition-specific toybox make module with soong modules 2024-12-05 18:50:11 +00:00
storaged use V4 Health HAL 2024-11-20 01:07:41 +00:00
toolbox Define toolbox.recovery 2024-12-06 01:51:35 +00:00
trusty Merge "Update trusty to use secretkeeper hal V1" into main 2024-12-04 21:22:00 +00:00
usbd usb: migration to USB gadget AIDL 2023-01-10 11:24:36 +08:00
watchdogd Define reboot.recovery and watchdogd.recovery 2024-12-06 23:18:18 +00:00
.clang-format
.clang-format-2 Move clang-formats to build. 2019-01-18 14:26:33 -08:00
.clang-format-4 Move clang-formats to build. 2019-01-18 14:26:33 -08:00
.gitignore
Android.bp Add dirgroup for trusty genrule 2024-10-10 18:21:29 +09:00
CleanSpec.mk snapshotctl don't auto-merge. 2020-03-03 13:19:49 -08:00
MODULE_LICENSE_APACHE2
OWNERS Add bug component to system/core 2023-07-26 07:57:58 -07:00
PREUPLOAD.cfg PREUPLOAD += bpfmt 2024-06-04 23:10:21 +00:00
rustfmt.toml Configure rustfmt for preupload hook 2022-04-06 21:11:09 +00:00