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

Unstable #9

Open
wants to merge 71 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
d3936da
feat: activation step implemented
0x00002a Aug 26, 2021
06d4b29
chore: basics of tls server
0x00002a Aug 26, 2021
11d59be
fix: domain of sockets and compile
0x00002a Aug 26, 2021
14a78db
save
0x00002a Sep 1, 2021
d508979
chore: initial tls handshake sort of working
0x00002a Sep 2, 2021
6149f92
chore: handshake working but decrypt error on final step
0x00002a Sep 2, 2021
f1a9647
feat: tls handshaking done
0x00002a Sep 2, 2021
caf3657
chore: cleanup
0x00002a Sep 2, 2021
84acfb1
chore: move handshake to state machine
0x00002a Sep 2, 2021
6e04a91
chore: working on tls images
0x00002a Sep 2, 2021
5ab48b4
feat: add otp writing
0x00002a Sep 3, 2021
4b49e1e
fix: incorrectly packaged tls handshake data
0x00002a Sep 3, 2021
2f54a48
Merge pull request #6 from 0x00002a/feat-5110-images
mpi3d Sep 4, 2021
83c4ba5
fix: magic bytes. Now waits for finger!
0x00002a Sep 5, 2021
1b5b49b
chore: working on frame decoding and assembly
0x00002a Sep 5, 2021
55a7cab
fix: initing new transfer per tls read
0x00002a Sep 5, 2021
da76817
fix: otp accessing free'd memory
0x00002a Sep 5, 2021
b270675
feat: image decoding
0x00002a Sep 5, 2021
416eadf
chore: cleanup
0x00002a Sep 5, 2021
cfa1cbc
fix: possible invalid access
0x00002a Sep 5, 2021
06c891a
chore: major cleanup
0x00002a Sep 5, 2021
6357322
fix: lockup if failure during activation
0x00002a Sep 5, 2021
305e525
Merge pull request #7 from 0x00002a/feat-5110-images
mpi3d Sep 6, 2021
999955e
feat: reenable verification
0x00002a Sep 6, 2021
2431ff9
fix: non-graceful shutdown of usb transfer
0x00002a Sep 6, 2021
b5cfe05
fix: operation cancelled before start
0x00002a Sep 6, 2021
b327b0b
fix: operation cancelled before start
0x00002a Sep 6, 2021
58d878f
feat: works with fprintd
0x00002a Sep 6, 2021
130502b
fix: segfault on ssl read error
0x00002a Sep 6, 2021
c15bce3
chore: working on noise reduction
0x00002a Sep 6, 2021
bf3337f
chore: working on noise reduction
0x00002a Sep 6, 2021
23e97d2
chore: copied pixel squash algorithm from elan
0x00002a Sep 7, 2021
692d673
chore: remove less minutiae
0x00002a Sep 7, 2021
e9c41b9
feat: sort of working verification
0x00002a Sep 7, 2021
fae3acd
chore: revert "chore: remove less minutiae"
0x00002a Sep 7, 2021
2be196f
chore: increase captured frames to 40
0x00002a Sep 7, 2021
14a877a
chore: remove uneeded calibration step
0x00002a Sep 7, 2021
da0fcb0
Merge pull request #8 from 0x00002a/feat-5110-images
mpi3d Sep 8, 2021
93ce734
Remove 521d from the unsupported devices list
nilathedragon Oct 25, 2021
becc6f2
Add TLS_DATA flag to proto definitions
nilathedragon Oct 25, 2021
8410de1
Adjust preset_psk to python protocol
nilathedragon Oct 25, 2021
e71cfa5
Merge pull request #1 from rootd/feat-5110-images
nilathedragon Oct 25, 2021
ee8c43c
Add support for TLS_DATA handling
nilathedragon Oct 25, 2021
65f811d
Migrate mcu_get_image payload out of goodix core
nilathedragon Oct 25, 2021
81ce132
Export reply toggle for fdt functions
nilathedragon Oct 25, 2021
15081d4
Unlist 521d from hwdb file
nilathedragon Oct 25, 2021
c4a3aad
Added goodix52xd driver
nilathedragon Oct 25, 2021
00d71f6
Change sensor write payload
nilathedragon Oct 25, 2021
253343d
Set offset to 0
nilathedragon Oct 25, 2021
900d495
Added PSK Response object
nilathedragon Oct 25, 2021
d9da6f8
Fix Sensor Register Write & expose mcu get image payload
nilathedragon Oct 25, 2021
d4309ea
Update project files
nilathedragon Oct 25, 2021
1662333
Initial commit for 538d
nilathedragon Oct 25, 2021
8adc067
Remove unused code and definitions
nilathedragon Oct 26, 2021
a1f72a7
Merge pull request #2 from infinytum/driver/538d
nilathedragon Oct 26, 2021
8205c19
Merge pull request #3 from infinytum/driver/goodix-521d
nilathedragon Oct 26, 2021
3a95f63
Working OTP Capture
nilathedragon Oct 26, 2021
b40dc66
Implement OTP values for finger wait and calibration
nilathedragon Oct 27, 2021
ee5f051
Merge pull request #4 from infinytum/driver/goodix-521d
nilathedragon Oct 27, 2021
b145992
Capture 10 images again
nilathedragon Oct 27, 2021
454811c
Merge pull request #5 from infinytum/driver/goodix-521d
nilathedragon Oct 27, 2021
f9ecca5
Merge branch 'driver/goodix-521d' into driver/538d
nilathedragon Oct 27, 2021
8cacb1e
Added OTP Calibration Mapping to 53xd
nilathedragon Oct 27, 2021
bdcec11
Merge branch 'unstable' into driver/538d
nilathedragon Oct 27, 2021
b6d6965
Merge pull request #6 from infinytum/driver/538d
nilathedragon Oct 27, 2021
bbee7b6
Comment out unecessary code
nilathedragon Nov 16, 2021
7c59196
Merge pull request #7 from infinytum/driver/goodix-521d
nilathedragon Nov 16, 2021
de59908
Whatever this C error is, I don't enjoy it
nilathedragon Nov 16, 2021
aa856b0
Merge pull request #8 from infinytum/driver/goodix-521d
nilathedragon Nov 16, 2021
80030a2
C error
nilathedragon Nov 16, 2021
5e14af7
Merge pull request #10 from infinytum/driver/538d
nilathedragon Nov 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.o
*.swp
_build
test.sh
33 changes: 19 additions & 14 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
{
"configurations": [
{
"name": "Linux",
"includePath": ["${workspaceFolder}/**"],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64",
"compileCommands": "${workspaceFolder}/_build/compile_commands.json"
}
],
"version": 4
}
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/include/gusb-1",
"/usr/include/glib-2.0",
"/usr/lib64/glib-2.0/include"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64",
"compileCommands": "${workspaceFolder}/_build/compile_commands.json"
}
],
"version": 4
}
10 changes: 8 additions & 2 deletions data/autosuspend.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ usb:v27C6p6A94*
ID_AUTOSUSPEND=1
ID_PERSIST=0

# Supported by libfprint driver goodixtls52xd
usb:v27C6p521D*
ID_AUTOSUSPEND=1

# Supported by libfprint driver goodixtls53xd
usb:v27C6p538D*
ID_AUTOSUSPEND=1

# Supported by libfprint driver goodixtls511
usb:v27c6p5110*
ID_AUTOSUSPEND=1
Expand Down Expand Up @@ -309,15 +317,13 @@ usb:v1C7Ap0575*
usb:v27C6p5042*
usb:v27C6p5117*
usb:v27C6p5201*
usb:v27C6p521D*
usb:v27C6p5301*
usb:v27C6p530C*
usb:v27C6p532D*
usb:v27C6p533C*
usb:v27C6p5381*
usb:v27C6p5385*
usb:v27C6p538C*
usb:v27C6p538D*
usb:v27C6p5395*
usb:v27C6p5584*
usb:v27C6p55A2*
Expand Down
Loading