-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
5481 lines (5060 loc) · 284 KB
/
index.html
File metadata and controls
5481 lines (5060 loc) · 284 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Multi-UVTools</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" href="css/spectrum.css" />
<style>
/* Settings Tabs */
.settings-tabs {
display: flex;
flex-wrap: wrap;
gap: 0;
margin-bottom: 0;
border-bottom: 2px solid var(--border);
}
.settings-tabs .tab-btn {
padding: 0.75rem 1.5rem;
background: transparent;
border: none;
border-bottom: 2px solid transparent;
margin-bottom: -2px;
color: var(--text-muted);
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.settings-tabs .tab-btn:hover {
color: var(--text);
background: var(--bg-hover);
}
.settings-tabs .tab-btn.active {
color: var(--primary);
border-bottom-color: var(--primary);
}
.settings-tabs .tab-btn svg {
width: 18px;
height: 18px;
stroke: currentColor;
}
.tab-content {
display: none !important;
padding: 1.5rem;
background: var(--bg-card);
border: 1px solid var(--border);
border-top: none;
border-radius: 0 0 8px 8px;
}
.tab-content.active {
display: block !important;
}
/* Radio FM Table */
.radio-actions {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
}
.radio-table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
}
.radio-table th, .radio-table td {
padding: 0.5rem;
border: 1px solid var(--border);
text-align: left;
}
.radio-table th {
background: var(--bg-darker, #e0e0e0);
font-weight: 600;
}
.radio-table input[type="number"] {
width: 150px;
padding: 0.25rem 0.5rem;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--bg-input);
color: var(--text);
}
/* DTMF Table */
.dtmf-table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
}
.dtmf-table th,
.dtmf-table td {
padding: 0.5rem;
text-align: left;
border-bottom: 1px solid var(--border);
}
.dtmf-table th {
font-weight: 600;
color: var(--text-muted);
font-size: 0.85rem;
text-transform: uppercase;
}
.dtmf-table input {
width: 100%;
padding: 0.5rem;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--bg-input);
color: var(--text);
font-family: monospace;
}
.dtmf-table input:focus {
outline: none;
border-color: var(--primary);
}
.dtmf-table .index-col {
width: 50px;
text-align: center;
color: var(--text-muted);
}
.dtmf-table .clear-btn {
padding: 0.25rem 0.5rem;
background: var(--bg-hover);
border: 1px solid var(--border);
border-radius: 4px;
color: var(--text-muted);
cursor: pointer;
}
.dtmf-table .clear-btn:hover {
background: var(--danger);
color: white;
border-color: var(--danger);
}
.dtmf-actions {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
}
/* Danger button (red) */
button.danger {
background: var(--danger);
color: white;
border-color: var(--danger);
}
button.danger:hover:not(:disabled) {
background: #c62828;
border-color: #c62828;
}
button.danger:disabled {
background: var(--bg-secondary);
color: var(--text-muted);
border-color: var(--border-color);
cursor: not-allowed;
opacity: 0.5;
}
/* Calibration Section Styles */
/* Hidden elements for collapsible sections */
.hidden {
display: none !important;
}
.calib-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
background: var(--surface-1);
border-radius: 8px;
overflow: hidden;
}
.calib-table th, .calib-table td {
padding: 0.5rem;
text-align: center;
border: 1px solid var(--border-color);
}
.calib-table th {
background: var(--primary);
color: white;
font-weight: 600;
}
.calib-table tr:nth-child(even) {
background: var(--surface-2);
}
.calib-input {
width: 70px;
padding: 0.3rem;
text-align: center;
border: 1px solid var(--border-color);
border-radius: 4px;
background: var(--surface-1);
color: var(--text-primary);
font-size: 0.85rem;
}
.calib-input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}
.calib-group {
background: var(--surface-1);
padding: 1rem;
border-radius: 8px;
border: 1px solid var(--border-color);
}
.tab-btn {
padding: 0.5rem 1rem;
border: 1px solid var(--border-color);
background: var(--surface-1);
color: var(--text-primary);
cursor: pointer;
border-radius: 4px;
font-size: 0.85rem;
transition: all 0.2s;
}
.tab-btn:hover {
background: var(--surface-2);
}
.tab-btn.active {
background: var(--primary);
color: white;
border-color: var(--primary);
}
#calibrationPanel .field-group {
margin-bottom: 0.5rem;
}
#calibrationPanel .field-group label {
display: block;
font-size: 0.8rem;
color: var(--text-muted);
margin-bottom: 0.2rem;
}
</style>
</head>
<body>
<div class="theme-switcher">
<label for="themeSelect" class="theme-label">Theme:</label>
<select id="themeSelect">
<optgroup label="── Dark Themes ──">
<option value="dark">🌙 Dark</option>
<option value="midnight">🌌 Midnight</option>
<option value="ocean">🌊 Ocean</option>
<option value="forest">🌲 Forest</option>
<option value="sunset">🌅 Sunset</option>
<option value="cyberpunk">💜 Cyberpunk</option>
<option value="retro">📟 Retro</option>
</optgroup>
<optgroup label="── Popular Themes ──">
<option value="nord">❄️ Nord</option>
<option value="dracula">🧛 Dracula</option>
<option value="monokai">🎨 Monokai</option>
<option value="solarized">☀️ Solarized</option>
<option value="gruvbox">🟠 Gruvbox</option>
<option value="tokyo">🗼 Tokyo Night</option>
<option value="catppuccin">🐱 Catppuccin</option>
<option value="rosepine">🌸 Rosé Pine</option>
<option value="onedark">⚫ One Dark</option>
</optgroup>
<optgroup label="── Light Themes ──">
<option value="light">☀️ Light</option>
<option value="cream">🍦 Cream</option>
<option value="bluelight">🔵 Blue Light</option>
<option value="lavender">💜 Lavender</option>
<option value="mint">🌿 Mint</option>
<option value="roselight">🌹 Rose</option>
<option value="paper">📄 Paper</option>
<option value="sky">🌤️ Sky</option>
</optgroup>
<optgroup label="── Accessibility ──">
<option value="contrast">⚡ High Contrast</option>
</optgroup>
</select>
</div>
<!-- Navigation Bar - visible on all pages -->
<nav class="main-nav">
<div class="nav-top">
<a href="#home" class="nav-brand">Multi-UVTools</a>
<div class="nav-links">
<a href="#instructions" class="nav-item" data-nav="instructions">Home</a>
<a href="#home" class="nav-item k5-tk11-only" data-nav="home">Tools</a>
<a href="#k1" class="nav-item k5-only" data-nav="k1">Flash</a>
<a href="#channels" class="nav-item k5-tk11-only" data-nav="channels">Channels</a>
<a href="#settings" class="nav-item k5-only" data-nav="settings">Settings</a>
<a href="#tk11-settings" class="nav-item tk11-only" data-nav="tk11-settings" style="display: none;">Settings</a>
<a href="#mirror" class="nav-item k5-only" data-nav="mirror">Mirror</a>
<a href="#smr" class="nav-item k5-only" data-nav="smr">SMR</a>
<a href="#rt890-flash" class="nav-item rt890-only" data-nav="rt890-flash" style="display: none;">Flash</a>
<a href="#rt890-tools" class="nav-item rt890-only" data-nav="rt890-tools" style="display: none;">Tools</a>
<a href="#h3-flash" class="nav-item h3-only" data-nav="h3-flash" style="display: none;">Flash</a>
<a href="#h3-channels" class="nav-item h3-only" data-nav="h3-channels" style="display: none;">Channels</a>
<a href="#h3-bandplan" class="nav-item h3-only" data-nav="h3-bandplan" style="display: none;">Band Plan</a>
<a href="#h3-codeplug" class="nav-item h3-only" data-nav="h3-codeplug" style="display: none;">Codeplug</a>
<a href="#rt880-flash" class="nav-item rt880-only" data-nav="rt880-flash" style="display: none;">Flash</a>
<a href="#rt880-monitor" class="nav-item rt880-only" data-nav="rt880-monitor" style="display: none;">Monitor</a>
<a href="#rt880-remote" class="nav-item rt880-only" data-nav="rt880-remote" style="display: none;">Web Remote</a>
<a href="#rt880-spi" class="nav-item rt880-only" data-nav="rt880-spi" style="display: none;">SPI Backup</a>
<a href="#spectrum" class="nav-item k5-only" data-nav="spectrum">Spectrum</a>
<a href="#unbricking" class="nav-item k5-only" data-nav="unbricking">Unbricking</a>
</div>
</div>
<div class="nav-status">
<select id="radioTypeSelect" class="radio-type-select nav-radio-type" title="Select Radio Type">
<option value="K5" selected>📻 UV-K5/K1</option>
<option value="TK11">📻 TK11</option>
<option value="RT890">📻 RT-890</option>
<option value="H3">📻 TD-H3/H8</option>
<option value="RT880">📻 RT-880</option>
</select>
<span class="status-dot" id="homeStatusDot" data-status="disconnected"></span>
<span id="connectionLabel" class="status-label">Disconnected</span>
<span id="deviceInfo" class="status-device">No port</span>
<span id="firmwareInfo" class="status-firmware">-</span>
<select id="baudSelect" class="nav-baud">
<option value="38400" selected>38400</option>
<option value="115200">115200</option>
</select>
<button id="connectBtn" class="nav-btn primary">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2" width="16" height="16">
<path d="M8 12h8"></path>
<path d="M5 12l3-3v6l-3-3z"></path>
<path d="M19 12l-3 3V9l3 3z"></path>
</svg>
Connect
</button>
<button id="disconnectBtn" class="nav-btn ghost" disabled>
<svg viewBox="0 0 24 24" fill="none" stroke-width="2" width="16" height="16">
<path d="M6 6l12 12"></path>
<path d="M18 6l-12 12"></path>
</svg>
Disconnect
</button>
</div>
</nav>
<main class="app tool-scope">
<section class="page" id="instructions" data-page>
<header class="hero k5-tk11-only">
<div>
<p class="eyebrow">INTRO</p>
<h1>Instructions</h1>
<p class="subtitle">
Welcome to Multi-UVTools. This application helps you manage your Quansheng radio.
</p>
</div>
</header>
<header class="hero rt890-only" style="display: none;">
<div>
<p class="eyebrow">INTRO</p>
<h1>Instructions</h1>
<p class="subtitle">
Welcome to Multi-UVTools. This application helps you manage your Radtel radio.
</p>
</div>
</header>
<header class="hero h3-only" style="display: none;">
<div>
<p class="eyebrow">INTRO</p>
<h1>Instructions</h1>
<p class="subtitle">
Welcome to Multi-UVTools. This application helps you manage your TIDRadio TD-H3/H8 radio.
</p>
</div>
</header>
<header class="hero rt880-only" style="display: none;">
<div>
<p class="eyebrow">INTRO</p>
<h1>Instructions</h1>
<p class="subtitle">
Welcome to Multi-UVTools. This application helps you manage your Radtel RT-880 / iRadio UV-98 radio.
</p>
</div>
</header>
<!-- K5 Instructions -->
<section class="panel k5-only">
<h2>Getting Started</h2>
<p>Connect your radio via USB. Baud rate: 38400 (Default) / 115200 (Specific firmwares).</p>
<h3>Available Features:</h3>
<ul style="list-style: disc; margin-left: 2rem; line-height: 1.8;">
<li><strong>Tools:</strong> Memory backup/restore, calibration management, and HEX view</li>
<li><strong>Flash:</strong> Flash firmware for UV-K5/K6/5R and UV-K5 V3/K1 radios</li>
<li><strong>Channels:</strong> Read, edit and write channels to the radio</li>
<li><strong>Settings:</strong> Edit basic settings, DTMF contacts, and FM radio frequencies</li>
<li><strong>Mirror:</strong> Mirror the radio display in real time</li>
<li><strong>SMR:</strong> Short message radio for sending and receiving SMS frames</li>
</ul>
<h3>Boot Mode:</h3>
<p>To flash firmware, connect the radio in boot mode by holding PTT while turning on the power.</p>
<div style="margin-top: 1.5rem; padding: 1.2rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #ffd700; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
⭐ Complete Documentation of the Quansheng UV-K5 — Wiki by Ludwich66
</h3>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
An exceptional work of documentation and reference.
</p>
<p style="margin-top: 0.8rem;">
<a href="https://github.com/ludwich66/Quansheng_UV-K5_Wiki" target="_blank" style="color: #ffd700; text-decoration: none; font-weight: bold; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
View Wiki on GitHub
</a>
</p>
</div>
<div style="margin-top: 2rem; padding: 1.5rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #e94560; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
Open Source Project
</h3>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
This website is available on my GitHub (<a href="https://github.com/spm81/Multi-UVTools" target="_blank" style="color: #e94560; text-decoration: none; font-weight: bold;">spm81</a>) <strong style="color: #fff;">Matoz</strong>.
</p>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
The code is open so that everyone can contribute to and improve the site. You can also ask to add your custom firmware or simply make pull requests on GitHub, and I will then add them to my code.
</p>
<p style="color: #e94560; font-weight: bold; font-size: 1.1rem; margin-top: 1rem;">
I hope you enjoy my work! 🚀
</p>
</div>
</section>
<!-- TK11 Instructions -->
<section class="panel tk11-only" style="display: none;">
<h2>Getting Started</h2>
<p>Connect your radio via USB. Baud rate: 115200 (Default).</p>
<h3>Available Features:</h3>
<ul style="list-style: disc; margin-left: 2rem; line-height: 1.8;">
<li><strong>Tools:</strong> Standard radio operations (Dump EEPROM, restore, calibration management, HEX view)</li>
<li><strong>Settings:</strong> Read and write TK11 settings</li>
</ul>
<div style="margin-top: 2rem; padding: 1.5rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #e94560; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
Open Source Project
</h3>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
This website is available on my GitHub (<a href="https://github.com/spm81/Multi-UVTools" target="_blank" style="color: #e94560; text-decoration: none; font-weight: bold;">spm81</a>) <strong style="color: #fff;">Matoz</strong>.
</p>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
The code is open so that everyone can contribute to and improve the site. You can also ask to add your custom firmware or simply make pull requests on GitHub, and I will then add them to my code.
</p>
<p style="color: #e94560; font-weight: bold; font-size: 1.1rem; margin-top: 1rem;">
I hope you enjoy my work! 🚀
</p>
<p style="margin-top: 0.8rem;">
<a href="https://t.me/tk11quansheng" target="_blank" style="color: #e94560; text-decoration: none; font-weight: bold; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
Join TK11 Telegram Group
</a>
</p>
</div>
</section>
<!-- RT890 Instructions -->
<section class="panel rt890-only" style="display: none;">
<h2>Getting Started</h2>
<p>Connect your radio via USB. Baud rate: 115200 (Default).</p>
<h3>Available Features:</h3>
<ul style="list-style: disc; margin-left: 2rem; line-height: 1.8;">
<li><strong>Flash:</strong> Flash firmware for RT-890 radios</li>
</ul>
<div style="margin-top: 2rem; padding: 1.5rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #e94560; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
Open Source Project
</h3>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
This website is available on my GitHub (<a href="https://github.com/spm81/Multi-UVTools" target="_blank" style="color: #e94560; text-decoration: none; font-weight: bold;">spm81</a>) <strong style="color: #fff;">Matoz</strong>.
</p>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
The code is open so that everyone can contribute to and improve the site. You can also ask to add your custom firmware or simply make pull requests on GitHub, and I will then add them to my code.
</p>
<p style="color: #e94560; font-weight: bold; font-size: 1.1rem; margin-top: 1rem;">
I hope you enjoy my work! 🚀
</p>
</div>
</section>
<!-- H3 Instructions -->
<section class="panel h3-only" style="display: none;">
<h2>Getting Started with TD-H3/H8</h2>
<p>Connect your TIDRadio TD-H3 or TD-H8 via USB-C cable. The radio uses the <strong>nicFW</strong> custom firmware by NicSure.</p>
<div style="margin-top: 1.2rem; padding: 1rem; background: #f59e0b22; border: 1px solid #f59e0b; border-radius: 8px; color: #f59e0b;">
⚠️ <strong>Important:</strong> nicFW is a standalone firmware — do NOT use TIDStation to flash or configure it. Use this website instead.
</div>
<h3 style="margin-top: 1.5rem;">📻 About the Radios</h3>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 0.8rem;">
<div style="padding: 1rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 10px;">
<h4 style="color: #ffd700; margin-bottom: 0.5rem;">🔹 TIDRadio TD-H3</h4>
<ul style="list-style: disc; margin-left: 1.2rem; line-height: 1.8; color: #a2d2ff; font-size: 0.95rem;">
<li>8-Band coverage (HF/VHF/UHF/Air Band)</li>
<li>5W output power</li>
<li>Compact and lightweight design</li>
<li>USB-C charging & programming</li>
<li>Bluetooth programming support</li>
<li>Dual PTT buttons</li>
<li>FM/AM reception including Air Band</li>
<li>Frequency copy (wireless cloning)</li>
</ul>
</div>
<div style="padding: 1rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 10px;">
<h4 style="color: #ffd700; margin-bottom: 0.5rem;">🔹 TIDRadio TD-H8</h4>
<ul style="list-style: disc; margin-left: 1.2rem; line-height: 1.8; color: #a2d2ff; font-size: 0.95rem;">
<li>VHF/UHF focused amateur radio</li>
<li>10W output power (higher than H3)</li>
<li>Scanning function</li>
<li>LED indicator light</li>
<li>MIC gain adjustment</li>
<li>More privacy encoding options (DCS/CTCSS)</li>
<li>USB-C charging & programming</li>
<li>Designed for amateur radio enthusiasts</li>
</ul>
</div>
</div>
<h3 style="margin-top: 1.5rem;">🔧 Available Features</h3>
<ul style="list-style: disc; margin-left: 2rem; line-height: 2;">
<li><strong>🔥 Flash:</strong> Flash nicFW firmware for TD-H3 and TD-H8 radios. Choose from pre-loaded firmwares, upload a .bin file, or paste a URL. Supports multiple firmware versions from NicSure.</li>
<li><strong>📡 Channels:</strong> Read, edit, and write channel configurations directly to/from the radio via serial connection. Supports CSV import/export for easy channel management and sharing.</li>
<li><strong>📊 Band Plan:</strong> Configure frequency band restrictions and settings. Edit which bands are enabled/disabled and their power/modulation settings. CSV import/export supported.</li>
<li><strong>💾 Codeplug:</strong> Full codeplug backup and restore (8KB .nfw files). Save your complete radio configuration and restore it anytime, or share it with other users.</li>
</ul>
<h3 style="margin-top: 1.5rem;">⚡ How to Enter Bootloader Mode (for Flashing)</h3>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 0.8rem;">
<div style="padding: 1rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 10px;">
<h4 style="color: #e94560; margin-bottom: 0.5rem;">TD-H3 Bootloader</h4>
<ol style="margin-left: 1.2rem; line-height: 2; color: #a2d2ff;">
<li>Turn OFF the radio</li>
<li>Connect the USB-C cable to your computer</li>
<li>Press and <strong>hold PTT</strong></li>
<li>While holding PTT, turn ON the radio</li>
<li>Release PTT — the screen should stay blank (bootloader mode)</li>
</ol>
</div>
<div style="padding: 1rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 10px;">
<h4 style="color: #e94560; margin-bottom: 0.5rem;">TD-H8 Bootloader</h4>
<ol style="margin-left: 1.2rem; line-height: 2; color: #a2d2ff;">
<li>Turn OFF the radio</li>
<li>Connect the USB-C cable to your computer</li>
<li>Press and <strong>hold the Flashlight button</strong></li>
<li>While holding Flashlight, turn ON the radio</li>
<li>Release — the screen should stay blank (bootloader mode)</li>
</ol>
</div>
</div>
<h3 style="margin-top: 1.5rem;">📖 Channels & Band Plan (Normal Mode)</h3>
<p style="line-height: 1.8; color: #a2d2ff;">
For <strong>Channels</strong>, <strong>Band Plan</strong>, and <strong>Codeplug</strong> operations, the radio must be in <strong>normal operating mode</strong> (NOT bootloader mode).
Simply turn on the radio normally and connect the USB-C cable. Click "Serial Port" to establish the connection, then use "Read" to load data from the radio or "Write" to save changes back.
</p>
<h3 style="margin-top: 1.5rem;">💡 Tips & Tricks</h3>
<ul style="list-style: disc; margin-left: 2rem; line-height: 2;">
<li><strong>CSV Import/Export:</strong> Save your channels or band plan as CSV to edit in a spreadsheet app, then load them back.</li>
<li><strong>Codeplug Sharing:</strong> Use the Codeplug Manager to share complete radio configurations (.nfw files) with friends or the community.</li>
<li><strong>Always backup first:</strong> Before flashing new firmware, use the Codeplug Manager to save your current configuration.</li>
<li><strong>Browser compatibility:</strong> Web Serial API requires Chrome, Edge, or Opera. Firefox and Safari are not supported.</li>
</ul>
<div style="margin-top: 1.5rem; padding: 1.2rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #ffd700; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
📚 Resources & Community
</h3>
<div style="display: flex; flex-direction: column; gap: 0.6rem;">
<a href="https://github.com/nicsure/TD-H3-Engineering" target="_blank" style="color: #a2d2ff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
NicSure's TD-H3 Engineering (GitHub) — firmware, schematics, documentation
</a>
<a href="https://github.com/nicsure/nicfw2docs" target="_blank" style="color: #a2d2ff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
nicFW User Manual (PDF) — complete guide for nicFW on TD-H3
</a>
<a href="https://www.facebook.com/groups/456942886822492" target="_blank" style="color: #a2d2ff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>
TIDRadio TD-H3 Hacking Group (Facebook)
</a>
</div>
</div>
<div style="margin-top: 1.5rem; padding: 1.5rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #e94560; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
Open Source Project
</h3>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
This website is available on my GitHub (<a href="https://github.com/spm81/Multi-UVTools" target="_blank" style="color: #e94560; text-decoration: none; font-weight: bold;">spm81</a>) <strong style="color: #fff;">Matoz</strong>.
</p>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
The code is open so that everyone can contribute to and improve the site. You can also ask to add your custom firmware or simply make pull requests on GitHub, and I will then add them to my code.
</p>
<p style="color: #e94560; font-weight: bold; font-size: 1.1rem; margin-top: 1rem;">
I hope you enjoy my work! 🚀
</p>
</div>
</section>
<!-- RT-880 Instructions -->
<section class="panel rt880-only" style="display: none;">
<h2>Getting Started with RT-880 / UV-98</h2>
<p>Connect your Radtel RT-880, RT-880G, or iRadio UV-98 via USB-C cable. This section supports the <strong>nicFW880</strong> custom firmware by NicSure.</p>
<div style="margin-top: 1.2rem; padding: 1rem; background: #f59e0b22; border: 1px solid #f59e0b; border-radius: 8px; color: #f59e0b;">
⚠️ <strong>Important:</strong> Some features (Web Remote, SPI Backup) require nicFW880 firmware. Flash operations work with both stock and custom firmware.
</div>
<h3 style="margin-top: 1.5rem;">📻 About the Radios</h3>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 0.8rem;">
<div style="padding: 1rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 10px;">
<h4 style="color: #ffd700; margin-bottom: 0.5rem;">🔹 Radtel RT-880</h4>
<ul style="list-style: disc; margin-left: 1.2rem; line-height: 1.8; color: #a2d2ff; font-size: 0.95rem;">
<li>10W output power (multi-band)</li>
<li>HF/VHF/UHF coverage</li>
<li>AM, FM, USB, LSB, CW modes</li>
<li>CB, LW, MW, SW, SSB reception</li>
<li>1024 channels</li>
<li>Cross-band repeater capability</li>
<li>2400mAh battery</li>
<li>USB-C charging & programming</li>
</ul>
</div>
<div style="padding: 1rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 10px;">
<h4 style="color: #ffd700; margin-bottom: 0.5rem;">🔹 iRadio UV-98 Pro</h4>
<ul style="list-style: disc; margin-left: 1.2rem; line-height: 1.8; color: #a2d2ff; font-size: 0.95rem;">
<li>Same hardware platform as RT-880</li>
<li>Multi-band HF/VHF/UHF</li>
<li>AM, FM, USB, LSB, CW modes</li>
<li>Full SSB reception support</li>
<li>USB-C interface</li>
<li>Compatible with RT-880 firmware</li>
<li>Same flash protocol</li>
<li>All tools work identically</li>
</ul>
</div>
</div>
<h3 style="margin-top: 1.5rem;">🔧 Available Features</h3>
<ul style="list-style: disc; margin-left: 2rem; line-height: 2;">
<li><strong>🔥 Flash:</strong> Flash firmware for RT-880 and UV-98 radios. Choose from pre-loaded nicFW880 firmwares, upload a .bin file, or paste a URL. Select your radio model before flashing.</li>
<li><strong>📡 Monitor:</strong> Real-time serial monitor at 115200 baud. View serial output in Text or Hex mode. Useful for debugging, monitoring radio status, and observing firmware messages.</li>
<li><strong>🎮 Web Remote:</strong> Full remote control interface for radios running nicFW880 firmware. See the radio display in real time and control all buttons (PTT, keypad, menu, etc.) from your browser at 38400 baud.</li>
<li><strong>💾 SPI Backup:</strong> Backup the full 4MB SPI flash memory at 230400 baud. Requires special firmware or bootloader that supports SPI dump via serial port. Essential for full radio recovery.</li>
</ul>
<h3 style="margin-top: 1.5rem;">⚡ How to Enter Bootloader Mode (for Flashing)</h3>
<div style="padding: 1rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 10px; margin-top: 0.8rem;">
<h4 style="color: #e94560; margin-bottom: 0.5rem;">RT-880 / UV-98 Bootloader</h4>
<ol style="margin-left: 1.2rem; line-height: 2; color: #a2d2ff;">
<li>Turn OFF the radio completely</li>
<li>Connect the USB-C cable to your computer</li>
<li>Press and <strong>hold PTT</strong></li>
<li>While holding PTT, turn ON the radio</li>
<li>Release PTT — the screen should stay blank or show bootloader indicator</li>
<li>The radio is now ready to receive firmware</li>
</ol>
<p style="color: #f59e0b; margin-top: 0.8rem; font-size: 0.9rem;">
💡 <strong>Tip:</strong> If the radio shows its normal boot screen, try again — make sure you're holding PTT <em>before</em> turning the power on.
</p>
</div>
<h3 style="margin-top: 1.5rem;">🎮 Web Remote (nicFW880 only)</h3>
<p style="line-height: 1.8; color: #a2d2ff;">
The Web Remote connects to your radio at <strong>38400 baud</strong> and streams the display in real time to your browser.
You can click the on-screen buttons to control the radio remotely — perfect for operating the radio from your desk without touching it.
</p>
<ul style="list-style: disc; margin-left: 2rem; line-height: 2; margin-top: 0.5rem;">
<li><strong>Connect:</strong> Opens the serial port at 38400 baud</li>
<li><strong>Start Session:</strong> Begins streaming the display and enables button control</li>
<li><strong>Keypad:</strong> Full keypad including PTT, side keys (S1/S2), menu, navigation, and number pad</li>
<li><strong>LED indicator:</strong> Shows the current LED color status from the radio</li>
<li><strong>Status panel:</strong> Shows connection state, ping time, and checksum info</li>
</ul>
<h3 style="margin-top: 1.5rem;">🔌 Serial Baud Rates</h3>
<div style="overflow-x: auto; margin-top: 0.8rem;">
<table style="width: 100%; border-collapse: collapse; font-size: 0.95rem;">
<thead>
<tr style="border-bottom: 2px solid #0f3460;">
<th style="text-align: left; padding: 8px 12px; color: #ffd700;">Feature</th>
<th style="text-align: left; padding: 8px 12px; color: #ffd700;">Baud Rate</th>
<th style="text-align: left; padding: 8px 12px; color: #ffd700;">Mode</th>
</tr>
</thead>
<tbody style="color: #a2d2ff;">
<tr style="border-bottom: 1px solid #0f3460;">
<td style="padding: 8px 12px;">Flash Firmware</td>
<td style="padding: 8px 12px;"><code>115200</code></td>
<td style="padding: 8px 12px;">Bootloader</td>
</tr>
<tr style="border-bottom: 1px solid #0f3460;">
<td style="padding: 8px 12px;">Serial Monitor</td>
<td style="padding: 8px 12px;"><code>115200</code></td>
<td style="padding: 8px 12px;">Normal</td>
</tr>
<tr style="border-bottom: 1px solid #0f3460;">
<td style="padding: 8px 12px;">Web Remote</td>
<td style="padding: 8px 12px;"><code>38400</code></td>
<td style="padding: 8px 12px;">Normal (nicFW880)</td>
</tr>
<tr>
<td style="padding: 8px 12px;">SPI Backup</td>
<td style="padding: 8px 12px;"><code>230400</code></td>
<td style="padding: 8px 12px;">Special firmware/bootloader</td>
</tr>
</tbody>
</table>
</div>
<h3 style="margin-top: 1.5rem;">💡 Tips & Tricks</h3>
<ul style="list-style: disc; margin-left: 2rem; line-height: 2;">
<li><strong>SPI Backup first:</strong> Before any major firmware change, do a full SPI backup (4MB) — this is your ultimate safety net for full radio recovery.</li>
<li><strong>Web Remote connection:</strong> The Web Remote uses an independent serial connection — it does not conflict with other tools.</li>
<li><strong>Radio model selection:</strong> When flashing, select the correct model (RT-880 or UV-98) to ensure the correct firmware variant is used.</li>
<li><strong>Monitor modes:</strong> Use Text mode for readable serial output, or switch to Hex mode to inspect raw protocol data.</li>
<li><strong>Browser compatibility:</strong> Web Serial API requires Chrome, Edge, or Opera. Firefox and Safari are not supported.</li>
</ul>
<div style="margin-top: 1.5rem; padding: 1.2rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #ffd700; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
📚 Resources & Community
</h3>
<div style="display: flex; flex-direction: column; gap: 0.6rem;">
<a href="https://github.com/nicsure/webremote_nicfw880" target="_blank" style="color: #a2d2ff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
NicSure's Web Remote for nicFW880 (GitHub) — original web remote project
</a>
<a href="https://www.patreon.com/nicsure" target="_blank" style="color: #a2d2ff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M14.82 2.41c3.96 0 7.18 3.24 7.18 7.21 0 3.96-3.22 7.18-7.18 7.18-3.97 0-7.21-3.22-7.21-7.18 0-3.97 3.24-7.21 7.21-7.21M2 21.6h3.5V2.41H2V21.6z"/></svg>
NicSure on Patreon — latest nicFW880 beta releases and updates
</a>
<a href="https://community.allstarlink.org/t/radtel-rt-880-development/23813" target="_blank" style="color: #a2d2ff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>
RT-880 Development Thread (AllStarLink) — community discussion and development
</a>
<a href="https://www.radtels.com/" target="_blank" style="color: #a2d2ff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
Radtel Official Website — firmware updates, manuals, Q&A
</a>
</div>
</div>
<div style="margin-top: 1.5rem; padding: 1.5rem; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid #0f3460; border-radius: 12px;">
<h3 style="color: #e94560; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
Open Source Project
</h3>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
This website is available on my GitHub (<a href="https://github.com/spm81/Multi-UVTools" target="_blank" style="color: #e94560; text-decoration: none; font-weight: bold;">spm81</a>) <strong style="color: #fff;">Matoz</strong>.
</p>
<p style="color: #a2d2ff; line-height: 1.6; margin-bottom: 0.5rem;">
The code is open so that everyone can contribute to and improve the site. You can also ask to add your custom firmware or simply make pull requests on GitHub, and I will then add them to my code.
</p>
<p style="color: #e94560; font-weight: bold; font-size: 1.1rem; margin-top: 1rem;">
I hope you enjoy my work! 🚀
</p>
</div>
</section>
</section>
<section class="page" id="home" data-page>
<header class="hero">
<div>
<p class="eyebrow" id="toolsEyebrow">UV-K5/K1 TOOLSET</p>
<h1>Tools to manage your radio.</h1>
<p class="subtitle">
Connect the radio to backup, restore, firmware update, channel editing and basic settings.
</p>
<p class="subtitle muted" style="font-size: 0.9rem; margin-top: 0.5rem;">
<span class="k5-only">Memory: 8 KB EEPROM | 200 Channels | External EEPROM</span>
<span class="tk11-only" style="display: none;">Memory: 1532 KB (12 Mbit) (0x17EF00) | 999 Channels | Internal Flash</span>
</p>
<div class="tk11-only" style="display: none; margin-top: 1rem; padding: 1rem; background: #f59e0b22; border: 1px solid #f59e0b; border-radius: 8px; color: #f59e0b;">
⚠️ <strong>TK11 support is a work in progress.</strong> It works but needs fine-tuning (Everything should be working correctly).
</div>
</div>
</header>
<section class="panel-grid">
<!-- 1. EEPROM backup -->
<section class="panel">
<h2><span class="memory-type-label">EEPROM</span> backup</h2>
<p class="muted">Save the radio's current configuration.</p>
<button id="backupBtn">
<span class="btn-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2">
<path d="M12 3v12" />
<path d="M7 10l5 5 5-5" />
<path d="M4 20h16" />
</svg>
</span>
Backup EEPROM
</button>
<div class="progress">
<div class="progress-label">
<span>Progress</span>
<span id="backupPct">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="backupFill"></div>
</div>
</div>
<p class="hint" id="backupHint">The file will be downloaded as .bin.</p>
</section>
<!-- 3. Restore EEPROM -->
<section class="panel">
<h2>Restore <span class="memory-type-label">EEPROM</span></h2>
<p class="muted">Restore a backup file to the radio.</p>
<div class="field-row">
<input type="file" id="restoreFile" accept=".bin" />
</div>
<button id="restoreBtn">
<span class="btn-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2">
<path d="M12 21V9" />
<path d="M7 14l5-5 5 5" />
<path d="M4 4h16" />
</svg>
</span>
Restore <span class="memory-type-label">EEPROM</span>
</button>
<div class="progress">
<div class="progress-label">
<span>Progress</span>
<span id="restorePct">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="restoreFill"></div>
</div>
</div>
</section>
<!-- 4. Dump Calibration -->
<section class="panel k5-calib-only">
<h2>Dump Calibration</h2>
<p class="muted">Save the calibration area (0x1E00-0x2000).</p>
<button id="dumpCalibK5Btn">
<span class="btn-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2">
<path d="M12 3v12" />
<path d="M7 10l5 5 5-5" />
<path d="M4 20h16" />
</svg>
</span>
Dump Calibration
</button>
<div class="progress">
<div class="progress-label">
<span>Progress</span>
<span id="dumpCalibK5Pct">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="dumpCalibK5Fill"></div>
</div>
</div>
<p class="hint">Calibration file will be downloaded as .bin.</p>
</section>
<!-- 5. Restore Calibration -->
<section class="panel k5-calib-only">
<h2>Restore Calibration</h2>
<p class="muted">Restore calibration data from a backup file.</p>
<div class="field-row">
<input type="file" id="restoreCalibK5File" accept=".bin" />
</div>
<button id="restoreCalibK5Btn">
<span class="btn-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2">
<path d="M12 21V9" />
<path d="M7 14l5-5 5 5" />
<path d="M4 4h16" />
</svg>
</span>
Restore Calibration
</button>
<div class="progress">
<div class="progress-label">
<span>Progress</span>
<span id="restoreCalibK5Pct">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="restoreCalibK5Fill"></div>
</div>
</div>
<p class="hint">Expected size: 512 bytes.</p>
</section>
<!-- TK11 Dump Calibration -->
<section class="panel tk11-only" style="display: none;">
<h2>Dump Calibration</h2>
<p class="muted">Save the calibration area (0x010000-0x021000) - 68 KB.</p>
<button id="dumpCalibTK11Btn">
<span class="btn-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2">
<path d="M12 3v12" />
<path d="M7 10l5 5 5-5" />
<path d="M4 20h16" />
</svg>
</span>
Dump Calibration
</button>
<div class="progress">
<div class="progress-label">
<span>Progress</span>
<span id="dumpCalibTK11Pct">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="dumpCalibTK11Fill"></div>
</div>
</div>
<p class="hint">TK11 calibration file will be downloaded as .bin (69632 bytes = 68 KB).</p>
</section>
<!-- TK11 Restore Calibration -->
<section class="panel tk11-only" style="display: none;">
<h2>Restore Calibration</h2>
<p class="muted">Restore calibration data from a backup file (0x010000-0x021000).</p>
<div class="field-row">
<input type="file" id="restoreCalibTK11File" accept=".bin" />
</div>
<button id="restoreCalibTK11Btn">
<span class="btn-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2">
<path d="M12 21V9" />
<path d="M7 14l5-5 5 5" />
<path d="M4 4h16" />
</svg>
</span>
Restore Calibration
</button>
<div class="progress">
<div class="progress-label">
<span>Progress</span>
<span id="restoreCalibTK11Pct">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="restoreCalibTK11Fill"></div>
</div>
</div>
<p class="hint">Expected size: 69632 bytes (68 KB).</p>
</section>
<!-- 6. Default Calibrations -->
<section class="panel k5-calib-only">
<h2>Emergency Calibration Restore Tool</h2>
<p class="muted">Restore calibration from pre-loaded files.</p>
<p class="muted warning">⚠️ Warning: Use only in case of emergency (radio with password, locked radio, or misconfigured radio) and/or only if you do not have the calibration file for your radio.</p>
<div class="field-row">
<label for="defaultCalibSelect">Select Radio Model</label>
<select id="defaultCalibSelect">
<option value="">-- Select calibration --</option>
<option value="calibrations/UV-K5.bin">UV-K5</option>
<option value="calibrations/UV-K5(8).bin">UV-K5(8)</option>
<option value="calibrations/UV-5R_Plus.bin">UV-5R_Plus</option>
<option value="calibrations/UV-K5(99).bin">UV-K5(99)</option>
<option value="calibrations/K5V3_calibration.dat">UV-K5(v3)</option>
<option value="calibrations/UV-K1(8).bin">UV-K1(8)</option>
</select>
</div>
<button id="restoreDefaultCalibBtn">
<span class="btn-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke-width="2">
<path d="M12 21V9" />
<path d="M7 14l5-5 5 5" />
<path d="M4 4h16" />
</svg>
</span>
Restore Default Calibration
</button>
<div class="progress">
<div class="progress-label">
<span>Progress</span>
<span id="defaultCalibPct">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="defaultCalibFill"></div>
</div>
</div>
<p class="hint" id="defaultCalibHint">Select a model to restore its default calibration.</p>
</section>
<!-- Memory Size Detector (K5 & TK11) -->
<section class="panel" id="memorySizeDetectorSection">
<h2><span class="memory-type-label">Check EEPROM Size</span></h2>
<p class="muted">Automatically detects the size of your radio's memory using wrap-around test. This is safe and non-destructive.</p>