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

DIY Jade not recognized by Liana v8.0 on Linux #1525

Open
mister-1-wizard opened this issue Jan 8, 2025 · 1 comment
Open

DIY Jade not recognized by Liana v8.0 on Linux #1525

mister-1-wizard opened this issue Jan 8, 2025 · 1 comment
Labels
Bug Something isn't working as expected Signing devices Anything related to signing devices ("hardware wallets")

Comments

@mister-1-wizard
Copy link

mister-1-wizard commented Jan 8, 2025

Using Jade "temporary signer" function (Jade menu --> options --> temporary signer), I was able to get Liana v8.0 on Linux (Tails USB stick; Tails v6.10) to work with (i.e., recognize device, register descriptor, sign a spend transaction) [1] stock (i.e., non-DIY unit purchased from Blockstream) Jade device running firmware v1.0.30 (Jade device initialized by logging in to Blockstream server; PIN-protected seed stored on device) and with [2] stock Jade device running firmware v1.0.33 (Jade device uninitialized; never logged in to Blockstream server; no PIN-protected seed stored on device).

However, same instance of Liana (v8.0 running on Tails USB stick) was unable to recognize [3] DIY Jade unit. DIY Jade unit was ESP32 clone ("ESP32-WROVER-DEV"; chip was ESP32-D0WDQ6 revision v1.0) purchased from AliExpress and flashed with debug (i.e., unsigned; no secure boot) firmware v1.0.33-6-g04 using procedure on Blockstream website as modified by YTCryptoguide https://github.com/3rditeration/Jade. See below for further info regarding DIY Jade unit.

Note that DIY Jade unit was easily recognized by Sparrow wallet installed on same USB Tails stick after installing HWI (Hardware Walllet Interface) via Sparrow menu.

Following is further info regarding DIY Jade unit (from dmesg command and as output by commands entered following above github page during flash) unit (asterisks are to prevent doxxing:

relevant portion of output of dmesg command:
[ 1239.122770] usb 1-2: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.44
[ 1239.122790] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 1239.122797] usb 1-2: Product: USB Single Serial
[ 1239.122804] usb 1-2: SerialNumber: ***********
[ 1239.189640] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 1239.189703] usbcore: registered new interface driver cdc_acm
[ 1239.189707] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1518.349314] usb 1-2: USB disconnect, device number 5
[ 1704.208560] usb 1-2: new full-speed USB device number 6 using xhci_hcd
[ 1704.353212] usb 1-2: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.44
[ 1704.353230] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 1704.353263] usb 1-2: Product: USB Single Serial
[ 1704.353269] usb 1-2: SerialNumber: **********
[ 1704.363158] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 2492.780238] audit: type=1400 audit(1736159633.722:194): apparmor="DENIED" operation="capable" class="cap" profile="/usr/sbin/cupsd" pid=7264 comm="cupsd" capability=12 capname="net_admin"
[ 2565.625553] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[ 2565.637866] JFS: nTxBlock = 8192, nTxLock = 65536

output of command ls -l /dev/ttyACM0:
crw-rw---- 1 root dialout 166, 0 Jan 6 19:20 /dev/ttyACM0

relevant portion of output received during flashing of firmware onto DIY Jade:
esptool.py --chip esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x10000 jade.bin 0x9000 partition_table/partition-table.bin 0xe000 ota_data_initial.bin
esptool.py v4.8.1
Serial port /dev/ttyUSB0
Connecting.....
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, BLK3 partially reserved, Coding Scheme 3/4
Crystal is 40MHz

@nondiremanuel nondiremanuel added Bug Something isn't working as expected Signing devices Anything related to signing devices ("hardware wallets") labels Jan 9, 2025
@pythcoiner
Copy link
Collaborator

pythcoiner commented Jan 12, 2025

I opened a PR in async-hwi to add this device ID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as expected Signing devices Anything related to signing devices ("hardware wallets")
Projects
None yet
Development

No branches or pull requests

3 participants