forked from SpencerSharkey/Unknown6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSignature.proto
89 lines (80 loc) · 3.33 KB
/
Signature.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
syntax = "proto3";
message Signature {
message LocationFix {
// On iOS there are some LocationFixes with unk26=1 and everything else empty
string provider = 1; // "network", "gps", "fused", possibly others
uint64 timestamp_since_start = 2; // in ms
double latitude = 13;
double longitude = 14;
double unk20 = 20; // sample 0xbf800000 (iOS only, possibly horizontal accuracy)
double altitude = 21; // sample 0x41aded91 -> 21.74
double unk22 = 22; // sample 0x40800000 (iOS only, possibly vertical accuracy)
uint64 unk26 = 26; // Always 3 (possibly GPS status or number of satellites)
uint64 unk28 = 28; // Always 1
}
message Unknown5 {
uint64 unk1 = 1;
bytes unk2 = 2;
repeated fixed32 unk3 = 3;
repeated fixed32 unk4 = 4;
repeated fixed32 unk5 = 5;
bytes unk6 = 6;
bytes unk7 = 7;
bytes unk8 = 8;
}
message SensorInfo {
uint64 timestamp_snapshot = 1; // in ms
double magnetometer_x = 3;
double magnetometer_y = 4;
double magnetometer_z = 5;
double angle_normalized_x = 6;
double angle_normalized_y = 7;
double angle_normalized_z = 8;
double accel_raw_x = 10;
double accel_raw_y = 11;
double accel_raw_z = 12;
double gyroscope_raw_x = 13;
double gyroscope_raw_y = 14;
double gyroscope_raw_z = 15;
double accel_normalized_x = 16;
double accel_normalized_y = 17;
double accel_normalized_z = 18;
uint64 accelerometer_axes = 19; // Always 3
}
message DeviceInfo {
string device_id = 1;
string android_board_name = 2;
string android_bootloader = 3;
string device_brand = 4; // product.brand
string device_model = 5; // product.device
string device_model_identifier = 6; // Android only, build.display.id
string device_comms_model = 7; // boot.hardware
string hardware_manufacturer = 8; // product.manufacturer
string hardware_model = 9; // product.model
string firmware_brand = 10; // On iOS: "iPhone OS", product.name
string firmware_tags = 12; // Android only, build.tags
string firmware_type = 13; // On iOS instead: iOS version; // build.type
string firmware_fingerprint = 14; // Android only, build.fingerprint
}
// iOS only
message Unknown9 {
// all of these had 1 as their value
uint64 unk3 = 3;
uint64 unk5 = 5;
uint64 unk6 = 6;
}
uint64 timestamp_since_start = 2; // in ms
repeated LocationFix location_fix = 4;
Unknown5 unk5 = 5;
SensorInfo sensor_info = 7;
DeviceInfo device_info = 8;
Unknown9 unk9 = 9; // iOS only
uint32 unk10 = 10; //Location1 hashed based on the auth_token - xxHash32
uint32 unk20 = 20; //Location2 hashed based on the auth_token - xxHash32
bytes unk22 = 22; // replay check - Changes every 5 minutes or so. Generation unknown but pointed to by 0001B8614
uint64 timestamp = 23; // epoch timestamp in ms
repeated uint64 request_hash = 24; // hashes of each request message in a hashArray - xxhash64
// Addresses for the corresponding hash functions:
// xxHash32 00054D28
// xxhash64 000546C8 - Feeds into 00053D40
}