Skip to content

Contents dumper for goodix cfg bin files for gtx8 touchscreens

Notifications You must be signed in to change notification settings

cupid-development/goodix-cfg-bin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goodix-cfg-bin

Dumper for values inside a goodix gtx8 cfg bin file.

Compilation

Install a nightly rust compiler via rustup. Then run

cargo build --release --target=x86_64-unknown-linux-gnu (or aarch64-apple-darwin, etc.)

Running

./target/x86_64-unknown-linux-gnu/release/goodix-cfg-bin /path/to/goodix_cfg_group.bin

It will dump the contents of the file as JSON. This should be much easier to use than messing with the kernel module.

Internals

This is pretty much a straight-forward port of the kernel module code. It uses unsafe code and should probably be simplified in the future. Some simplifications were made based on assumptions such as aarch64 being little-endian.

About

Contents dumper for goodix cfg bin files for gtx8 touchscreens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%