Commit Graph

72 Commits

Author SHA1 Message Date
5ec1cff
6f82e4011b bump to 1.0.3 1.0.3 2024-07-28 21:51:44 +08:00
5ec1cff
479459d863 set security level properly 2024-07-28 17:44:35 +08:00
Wang Han
3ea150212c Support device properties attestation for generating key 2024-07-25 23:08:04 +08:00
Chris Renshaw
db72d6d3e9 Enable spoof_build_vars on initial install to pass by default (#24)
* Enable spoof_build_vars on initial install to pass by default

* Update default spoof_build_vars fingerprint
2024-07-25 15:08:02 +08:00
Chris Renshaw
0a52c2b4a0 Add AOSP software keybox to pass MEETS_DEVICE_INTEGRITY by default
* Add AOSP software keybox to pass MEETS_DEVICE_INTEGRITY by default

* Tweak README further

spoof_build_vars can be used to help pass DEVICE integrity with the default AOSP sw keybox, or help to pass STRONG integrity with an unrevoked hw keybox
2024-07-24 10:09:06 +08:00
Chris Renshaw
b124f81f9b Fix SafetyNet verdicts and slight refactor 2024-07-24 01:44:36 +08:00
Chris Renshaw
8f6c2b5dc8 Update README.md 2024-07-24 01:44:36 +08:00
Chris Renshaw
f3a150078f Fix typo doubled BRAND to BOARD 2024-07-24 01:44:36 +08:00
Wang Han
89700a22ab Write default config to correct fd 2024-07-21 15:03:51 +08:00
5ec1cff
d44b997f6f fix string not released 2024-07-21 09:40:38 +08:00
LoveSy
7cb2ad0e13 Connect to companion only in gms process 2024-07-21 09:14:22 +08:00
LoveSy
9be33d9528 Refine spoof build vars 2024-07-21 09:14:22 +08:00
5ec1cff
3ff2c3fa54 update glaze 2024-07-20 20:13:38 +08:00
5ec1cff
af76010cb1 move applicationId and creationDate to softwareEnforced 2024-07-19 10:54:35 +08:00
5ec1cff
d4cf6a3450 fix wrong subject public key of hack leaf 2024-07-19 10:32:48 +08:00
5ec1cff
62ae132432 bump to v1.0.2 1.0.2 2024-07-18 17:30:06 +08:00
5ec1cff
493c79b1e0 clean up code 2024-07-18 17:19:59 +08:00
5ec1cff
4bbf952483 Merge pull request #10 from pomelohan/master
Add customize spoof build vars support, minor opts
2024-07-18 17:11:11 +08:00
GarfieldHan
b8dce5ed5f module: Fix read() and write() usages
Co-authored-by: Wang Han <416810799@qq.com>
Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 16:56:47 +08:00
GarfieldHan
7ce469ea1d module: Silent noisy cpp warnings
Mostly caused by Dobby and there is no need to take care of them.

Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:55:46 +08:00
GarfieldHan
1035103e15 Apply checkReleaseBuild = false to service and stub
Increase building time

Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:55:46 +08:00
GarfieldHan
ee8ef65dc9 Switch to lsplugin cmaker
Reduce binary size by configuring right flags with it.

Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:55:46 +08:00
GarfieldHan
55cbe69ad5 Upgrade libcxx and use c++ 23
1. Meet latest glaze's requirements, and upgrade it
2. Get rid of glaze_write_json to avoid using iostream, which made binary size increased. Use C methods instead.

Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:55:27 +08:00
GarfieldHan
4d7257fcc7 README: Add customize spoof build vars illustration
Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:53:57 +08:00
GarfieldHan
95ad2d5a32 feature: Add customize spoof build vars support
Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:36:24 +08:00
GarfieldHan
11e77147a5 build: Suppress warnings
Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:23:53 +08:00
GarfieldHan
a9f3c6f372 Optimize building workflow
Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:23:53 +08:00
GarfieldHan
31724e1592 service: Extend proguard rules
Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:23:53 +08:00
GarfieldHan
932d88933c Upgrade gradle & AGP
Signed-off-by: GarfieldHan <2652609017@qq.com>
2024-07-18 13:23:36 +08:00
Wang Han
a21ebd634e Identify GMS process with app data dir
Process name can never get trusted.
2024-07-18 13:16:00 +08:00
5ec1cff
d4f3839ecf fix case 2024-07-18 13:04:00 +08:00
5ec1cff
979c51009c refine 2024-07-18 12:58:05 +08:00
5ec1cff
f14f79e90c refine configuration dir 2024-07-18 12:45:12 +08:00
5ec1cff
f1bbc0cd0e extract daemon 2024-07-18 12:30:19 +08:00
5ec1cff
1fe5bee3d2 use plt hook 2024-07-18 12:05:02 +08:00
5ec1cff
c620cecc2f retry 2024-07-18 10:51:35 +08:00
5ec1cff
5c9fe31ced new way to hook 2024-07-18 00:56:22 +08:00
5ec1cff
ebdaf87061 investigate 2024-07-17 20:03:39 +08:00
5ec1cff
49554a8bbd allow crashdump keystore 2024-07-16 23:41:48 +08:00
5ec1cff
2702d4396a do not use key from leaf cert 2024-07-16 23:40:13 +08:00
5ec1cff
963ff9d277 bump to v1.0.1 2024-07-16 23:19:11 +08:00
5ec1cff
46f455e4ba add build actions 2024-07-16 23:05:52 +08:00
5ec1cff
ef89d7192d update README.md 2024-07-16 22:26:33 +08:00
5ec1cff
2912d53198 trim line 2024-07-16 22:25:03 +08:00
5ec1cff
52b3fcf5ad ignore exceptions from remote 2024-07-16 21:54:36 +08:00
5ec1cff
37606d6d7e refine rootOfTrust key and hash 2024-07-16 21:47:32 +08:00
5ec1cff
7e7be3f72f ensure min sdk 31 1.0 2024-07-16 19:33:50 +08:00
5ec1cff
1a5a95af23 add acknowledgement 2024-07-16 19:27:51 +08:00
5ec1cff
53ae36774e update README.md 2024-07-16 19:20:50 +08:00
5ec1cff
60f940ca95 change spoof_build_vars path 2024-07-16 19:08:15 +08:00