Skip to content

Conversation

@shawn111
Copy link

@shawn111 shawn111 commented Jul 18, 2025

  • get_hwid() uses getprop
    • combine "ro.product.device" and "ro.boot.cdt_hwid"
    • use sha2 and hex crates instead of shelling out to sha256sum.
  • get_disk_id() uses the inode number of /data/data/com.termux.
  • get_mac_address() uses getprop ro.boot.wifimacaddr

Related: #31

- get_hwid() uses `getprop`
  - combine "ro.product.device" and "ro.boot.cdt_hwid"
  - use sha2 and hex crates instead of shelling out to sha256sum.
- get_disk_id() uses the inode number of /data/data/com.termux.
- get_mac_address() uses `getprop ro.boot.wifimacaddr`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant