Importing new keys doesn't work #14

Open
opened 2026-10-04 23:06:13 +02:00 by adam · 2 comments
Owner

When I try to use the import.json method of changing the public and private keys for my t-deck max, the key change seems very inconsistent. The first time I tried it, it worked, but only for a little while, when I later restarted the device, it reverted to the previous auto generated keys. I've tried a couple more times since, and the config change has been applied (the name of the device will change), but the key change will not apply.

When I try to use the import.json method of changing the public and private keys for my t-deck max, the key change seems very inconsistent. The first time I tried it, it worked, but only for a little while, when I later restarted the device, it reverted to the previous auto generated keys. I've tried a couple more times since, and the config change has been applied (the name of the device will change), but the key change will not apply. <!-- github-sync-id:5104825135 -->
Author
Owner

Given you've also had the maps issue where the SD isn't quite being recognised properly, when you get the chance could you please attach a serial boot log with the readout starting from a fresh reset/boot?

Given you've also had the maps issue where the SD isn't quite being recognised properly, when you get the chance could you please attach a serial boot log with the readout starting from a fresh reset/boot? <!-- github-comment-id:5290382790 -->
Author
Owner

Sorry it took me a while, here are the logs from a fresh startup from being shutdown with my t-deck max.

 mAh (target 1400)
BQ27220: Design Capacity already correct, FCC=1400 mAh
>>> TOUCH DIAG: compiled CST328_PIN_RST = -1 (MAX expects -1; a real GPIO means stale Pro variant)
_PowerOn : 43000
_Update_Full : 1005000
_Update_Part : 644000
_PowerOn : 41999
_Update_Part : 644000
[  4708][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x420b39c0 arg=0x3fc9629c
NotifSounds: Loaded 41 slots from config
NotifSounds: Config loaded
E (6220) gpio: gpio_install_isr_service(450): GPIO isr service already installed
GPS: prefs gps_baudrate=0 (0=use default)
GPS: Serial2 started at 38400 baud (RX=2 TX=16)
TCA8418: Keyboard initialized OK
setup() - RTC time: 1715770356 (valid=YES)
ChannelScreen: Loaded 300 messages from SD (count=300, newest=65)
TextReader layout: 38 chars/line, 22 lines/page, lineH=5, textH=114 (display 128x128)
_PowerOn : 42004
_Update_Part : 644000
TextReader: Boot indexing started
TextReader: /books — 0 dirs, 5 files
TextReader: Found cached EPUB txt: Project_Hail_Mary.txt
[ 11419][E][vfs_api.cpp:105] open(): /sd/.indexes/Dune.epub.idx does not exist, no permits for creation
[ 11434][E][vfs_api.cpp:105] open(): /sd/.indexes/Artemis.epub.idx does not exist, no permits for creation
[ 11449][E][vfs_api.cpp:105] open(): /sd/.indexes/Project_Hail_Mary.epub.idx does not exist, no permits for creation
[ 11502][E][vfs_api.cpp:105] open(): /sd/books/Project_Hail_Mary.txt does not exist, no permits for creation
TextReader: Project_Hail_Mary.txt - cached 1190 pages (resume pg 538)
[ 11575][E][vfs_api.cpp:105] open(): /sd/books/Artemis.txt does not exist, no permits for creation
TextReader: Artemis.txt - cached 693 pages (resume pg 6)
TextReader: 2 cached, 5 need indexing
TextReader: Boot indexing complete, 7 files (2 cached, 0 newly indexed)
Settings backed up to SD
[ 12302][E][vfs_api.cpp:105] open(): /sd/sms/contacts.txt does not exist, no permits for creation
[SMSContacts] No contacts file, starting fresh
[ 12332][E][vfs_api.cpp:105] open(): /sd/sms/calllog.dat does not exist, no permits for creation
GPS: pref gps_enabled=1
GPS: power ON
ALARM: Loaded config (5 slots)
ALARM: Boot init, 0 alarms enabled
setup() complete - free heap: 243364, largest block: 221172
setup() heap probe: 25K=yes 10K=yes 4K=yes
[GPS] inview=0 [] used=0 fix=N nmea=0/s total=8
_PowerOn : 42000
_Update_Part : 644000
>>> SplashScreen calling gotoHomeScreen() <<<
_PowerOn : 41998
_Update_Part : 644000
[GPS] inview=5 [GP=4 GA=0 GB=1 GQ=0] used=0 fix=N nmea=12/s total=128
Sorry it took me a while, here are the logs from a fresh startup from being shutdown with my t-deck max. ``` mAh (target 1400) BQ27220: Design Capacity already correct, FCC=1400 mAh >>> TOUCH DIAG: compiled CST328_PIN_RST = -1 (MAX expects -1; a real GPIO means stale Pro variant) _PowerOn : 43000 _Update_Full : 1005000 _Update_Part : 644000 _PowerOn : 41999 _Update_Part : 644000 [ 4708][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x420b39c0 arg=0x3fc9629c NotifSounds: Loaded 41 slots from config NotifSounds: Config loaded E (6220) gpio: gpio_install_isr_service(450): GPIO isr service already installed GPS: prefs gps_baudrate=0 (0=use default) GPS: Serial2 started at 38400 baud (RX=2 TX=16) TCA8418: Keyboard initialized OK setup() - RTC time: 1715770356 (valid=YES) ChannelScreen: Loaded 300 messages from SD (count=300, newest=65) TextReader layout: 38 chars/line, 22 lines/page, lineH=5, textH=114 (display 128x128) _PowerOn : 42004 _Update_Part : 644000 TextReader: Boot indexing started TextReader: /books — 0 dirs, 5 files TextReader: Found cached EPUB txt: Project_Hail_Mary.txt [ 11419][E][vfs_api.cpp:105] open(): /sd/.indexes/Dune.epub.idx does not exist, no permits for creation [ 11434][E][vfs_api.cpp:105] open(): /sd/.indexes/Artemis.epub.idx does not exist, no permits for creation [ 11449][E][vfs_api.cpp:105] open(): /sd/.indexes/Project_Hail_Mary.epub.idx does not exist, no permits for creation [ 11502][E][vfs_api.cpp:105] open(): /sd/books/Project_Hail_Mary.txt does not exist, no permits for creation TextReader: Project_Hail_Mary.txt - cached 1190 pages (resume pg 538) [ 11575][E][vfs_api.cpp:105] open(): /sd/books/Artemis.txt does not exist, no permits for creation TextReader: Artemis.txt - cached 693 pages (resume pg 6) TextReader: 2 cached, 5 need indexing TextReader: Boot indexing complete, 7 files (2 cached, 0 newly indexed) Settings backed up to SD [ 12302][E][vfs_api.cpp:105] open(): /sd/sms/contacts.txt does not exist, no permits for creation [SMSContacts] No contacts file, starting fresh [ 12332][E][vfs_api.cpp:105] open(): /sd/sms/calllog.dat does not exist, no permits for creation GPS: pref gps_enabled=1 GPS: power ON ALARM: Loaded config (5 slots) ALARM: Boot init, 0 alarms enabled setup() complete - free heap: 243364, largest block: 221172 setup() heap probe: 25K=yes 10K=yes 4K=yes [GPS] inview=0 [] used=0 fix=N nmea=0/s total=8 _PowerOn : 42000 _Update_Part : 644000 >>> SplashScreen calling gotoHomeScreen() <<< _PowerOn : 41998 _Update_Part : 644000 [GPS] inview=5 [GP=4 GA=0 GB=1 GQ=0] used=0 fix=N nmea=12/s total=128 ``` <!-- github-comment-id:5329081542 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Meck#14