Skip to content

feat: Add Termux/Android support#33

Open
shawn111 wants to merge 1 commit into
Taptiive:mainfrom
shawn111:termux
Open

feat: Add Termux/Android support#33
shawn111 wants to merge 1 commit into
Taptiive:mainfrom
shawn111:termux

Conversation

@shawn111

@shawn111 shawn111 commented Jul 18, 2025

Copy link
Copy Markdown
  • 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