Another observation : KPG56D still doesn't recognize this radio and CHIRP won't open the .img file unless I load your custom .py driver module first.
This is what I get when attempting to open the saved .img file
without loading the custom module first :
Debug Log :
[2025-10-31 12:17:00,247] chirp.logger - DEBUG: CHIRP next-20251024 on Win32 (Unknown 10.0:19045) (Python 3.10.8)
[2025-10-31 12:17:00,316] chirp.wxui - DEBUG: Using locale: en_US (276)
[2025-10-31 12:17:00,316] chirp.wxui - DEBUG: Translation loaded=True for CHIRP: en_US (bg_BG,de,el,en_US,es,fr,hu,it,ja_JP,nl,pl,pt_BR,ro_RO,ru,tr_TR,uk_UA,zh_CN) from C:\Program Files (x86)\CHIRP\chirp\locale
[2025-10-31 12:17:00,332] chirp.wxui - DEBUG: Translation loaded=False for wxstd: en_US (af,an,ar,ca,ca@valencia,co,cs,da,de,el,es,eu,fa_IR,fi,fr,gl_ES,hi,hr,hu,id,it,ja,ka,ko_KR,lt,lv,ms,nb,ne,nl,pl,pt,pt_BR,ro,ru,sk,sl,sq,sv,ta,tr,uk,vi,zh_CN,zh_TW)
[2025-10-31 12:17:00,748] main - INFO: Python/3.10.8 // Windows/Windows-10-10.0.19045-SP0 // CHIRP/next-20251024 // wx/4.2.0 msw (phoenix) wxWidgets 3.2.0
[2025-10-31 12:17:00,748] chirp.wxui - WARNING: Developer mode is enabled
[2025-10-31 12:17:00,780] chirp.wxui.main - DEBUG: Recent is now ['D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\Kenwood_TK-762G_NEW_FREQUENCIES_20251031.img', 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\Kenwood_TK-760_20251029.img', 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\Kenwood_TK-762G_20251031.img', 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\TK-3140 Fixed (2025-10-29).dat', 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\TK-3140 Fixed2 (2025-10-29).dat', 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\Kenwood_TK-3140K_20251029.img', 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\TK-3180-K Fixed (2025-10-24).dat']
[2025-10-31 12:17:01,096] chirp.wxui.main - INFO: Server reports next-20251031 is latest
[2025-10-31 12:17:12,807] chirp.wxui.main - DEBUG: Doing open from 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\Kenwood_TK-762G_20251031.img'
[2025-10-31 12:17:12,807] chirp.chirp_common - DEBUG: Loaded metadata: {'mem_extra': {}, 'rclass': 'DynamicRadioAlias', 'vendor': 'Kenwood', 'model': 'TK-762G', 'variant': '', 'chirp_version': 'next-20251024'}
[2025-10-31 12:17:12,807] chirp.chirp_common - DEBUG: Loaded metadata: {'mem_extra': {}, 'rclass': 'DynamicRadioAlias', 'vendor': 'Kenwood', 'model': 'TK-762G', 'variant': '', 'chirp_version': 'next-20251024'}
[2025-10-31 12:17:12,807] chirp.chirp_common - DEBUG: Parsed version 'next-20251024' to (0,)
[2025-10-31 12:17:12,807] chirp.chirp_common - DEBUG: Parsed version 'next-20251024' to (0,)
[2025-10-31 12:17:12,892] chirp.drivers.tk760g - DEBUG: Wrong Kenwood radio, ID or unknown variant
[2025-10-31 12:17:12,892] chirp.drivers.tk760g - DEBUG: 000: 4d 37 36 32 30 14 ff M7620...
[2025-10-31 12:17:12,892] chirp.wxui.common - WARNING: Failure while capturing logs (showing=True): Wrong Kenwood radio, ID or unknown variant, see LOG output.
[2025-10-31 12:17:12,892] chirp.wxui.common - WARNING: Not showing 0 lines of logs (error=True,show=True)
[2025-10-31 12:17:12,892] chirp.wxui.common - ERROR: <function ChirpMain.open_file at 0x000001F3E41896C0> raised unexpected exception
Traceback (most recent call last):
File "chirp\drivers\tk760g.py", line 821, in _set_variant
KeyError: b'M7620\x14\xff'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "chirp\wxui\common.py", line 652, in run_safe
File "chirp\wxui\main.py", line 582, in open_file
File "chirp\directory.py", line 200, in get_radio_by_image
File "chirp\chirp_common.py", line 1496, in __init__
File "chirp\chirp_common.py", line 1594, in load_mmap
File "chirp\drivers\tk760g.py", line 876, in process_mmap
File "chirp\drivers\tk760g.py", line 844, in _set_variant
chirp.errors.RadioError: Wrong Kenwood radio, ID or unknown variant, see LOG output.
[2025-10-31 12:17:43,415] chirp.wxui.main - DEBUG: Doing open from 'D:\\-= HAM Radios =-\\-= UHF Radio Backups =-\\Kenwood_TK-762G_20251031.img'
[2025-10-31 12:17:43,415] chirp.chirp_common - DEBUG: Loaded metadata: {'mem_extra': {}, 'rclass': 'DynamicRadioAlias', 'vendor': 'Kenwood', 'model': 'TK-762G', 'variant': '', 'chirp_version': 'next-20251024'}
[2025-10-31 12:17:43,415] chirp.chirp_common - DEBUG: Loaded metadata: {'mem_extra': {}, 'rclass': 'DynamicRadioAlias', 'vendor': 'Kenwood', 'model': 'TK-762G', 'variant': '', 'chirp_version': 'next-20251024'}
[2025-10-31 12:17:43,415] chirp.chirp_common - DEBUG: Parsed version 'next-20251024' to (0,)
[2025-10-31 12:17:43,415] chirp.chirp_common - DEBUG: Parsed version 'next-20251024' to (0,)
[2025-10-31 12:17:43,516] chirp.drivers.tk760g - DEBUG: Wrong Kenwood radio, ID or unknown variant
[2025-10-31 12:17:43,516] chirp.drivers.tk760g - DEBUG: 000: 4d 37 36 32 30 14 ff M7620...
[2025-10-31 12:17:43,516] chirp.wxui.common - WARNING: Failure while capturing logs (showing=True): Wrong Kenwood radio, ID or unknown variant, see LOG output.
[2025-10-31 12:17:43,516] chirp.wxui.common - WARNING: Not showing 0 lines of logs (error=True,show=True)
[2025-10-31 12:17:43,516] chirp.wxui.common - ERROR: <function ChirpMain.open_file at 0x000001F3E41896C0> raised unexpected exception
Traceback (most recent call last):
File "chirp\drivers\tk760g.py", line 821, in _set_variant
KeyError: b'M7620\x14\xff'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "chirp\wxui\common.py", line 652, in run_safe
File "chirp\wxui\main.py", line 582, in open_file
File "chirp\directory.py", line 200, in get_radio_by_image
File "chirp\chirp_common.py", line 1496, in __init__
File "chirp\chirp_common.py", line 1594, in load_mmap
File "chirp\drivers\tk760g.py", line 876, in process_mmap
File "chirp\drivers\tk760g.py", line 844, in _set_variant
chirp.errors.RadioError: Wrong Kenwood radio, ID or unknown variant, see LOG output.