Repository navigation
Commit 256f912
Sign in as the Android device the ADI libraries actually are
Since 2026-10-12 Grand Slam refuses SRP init (ec=-80045) when a machine id
minted by Apple's Android ADI libraries is presented under a macOS or iPhone
client-info - issue wanderdev0#248, and every install of this app.
- Hardware.ANDROID (Pixel 7 / Android 14 / UQ1A.240205.002, the string xtool
verified in xtool-org/xtool#337) is the new DEFAULT; canSignIn() marks
LEGACY_MAC and IPHONE as refused at the handler
- LocalAnisette replaces a stored identity whose profile can no longer sign
in and wipes files/anisette/provisioning before the library is opened, so
ADI re-provisions under the Android claim - a Mac-provisioned machine id
presented as Android is answered hsc=434. Costs affected installs one
re-login; the alternative is an install that can never sign in again
- profileToShow describes the profile the next load will actually use
- gsd.apple.com now chains to Apple Root CA - G3: added as a trust anchor
beside the 2006 root, for gsa and gsd only. This is the -45003/502 every
public Anisette server has been returning; without it the on-device
provisioning handshake itself fails
- Tests: AdiDeviceIdentityTest pins the Android client-info string and
canSignIn(); LocalAnisetteIdentityTest covers keep-vs-replace and the
provisioning wipe; test_identity.py pins that the six bridged values
render as the verified client-info through FindMy.py's own composer
Verified end to end: a freshly Android-provisioned machine id answers ec=0
via scripts/probe_gsa_signin.py --real-init, and on a Pixel 8 Pro this build
downloads the libraries, provisions under the Android identity
(ADIProvisioningEnd = 0) and signs in - password and 2FA accepted - through
to the account step. 469 JVM tests, 46 pytest, 35 instrumented tests green.
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 2065d59 commit 256f912
8 files changed
Lines changed: 381 additions & 120 deletions
File tree
- app/src
- androidTest/java/dev/wander/android/opentagviewer/anisette
- main
- java/dev/wander/android/opentagviewer/anisette
- res
- raw
- xml
- test/python
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
154 | 171 | | |
155 | 172 | | |
156 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| 109 | + | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| |||
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
117 | | - | |
118 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
119 | 149 | | |
120 | 150 | | |
121 | 151 | | |
| |||
143 | 173 | | |
144 | 174 | | |
145 | 175 | | |
146 | | - | |
| 176 | + | |
147 | 177 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
152 | 182 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 183 | + | |
| 184 | + | |
156 | 185 | | |
157 | 186 | | |
158 | | - | |
159 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
160 | 190 | | |
161 | 191 | | |
162 | 192 | | |
| |||
0 commit comments