¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Manually Editing bands with R1CBU firmware


 

I have managed to edit the bands on Oleg's excellent firmware.

Here's a basic procedure:

Prerequisite.??
a: A PC running Linux with some sort of SD card reader.
b: A pretty good knowlege of Linux.? (It may be possible to do this in Windows but I'll not go there).
c: sqlite3 application on the linux box

Steps:
1: copy the params.db file from the DATA partition of the SD Card to your Linux box.
2: dump the params.db database to a file
echo .dump | sqlite3 params.db > <DumpFilename>
3: Edit the <DumpFilename> , lhe lines starting with INSERT INTO bands VALUES are the band limits.

4: Once you're happy with the resulting file, create a new params.db file
- rename (or delete) the old params.db file
- cat <DumpFile> | sqlite3 params.db

5: Copy the resulting params.db file to the DATA partition of the SD Card.

- I don't think file owner and permissions are important because the file finishes up on? a FAT partition but i keep it as root:root and 777.
6: Cross your fingers and try to boot up the X6100 !

If all fails, and nothing works you can always get back to a working system by copyong the latest RICBU image to the sd card.
Remember that any modifications will likely be lost when a new patch is applied or a new version of the firmware is installed.

73 Niall, F5VCV


 

On Fri, Mar 22, 2024 at 01:10 AM, Niall F5VCV wrote:
1: copy the params.db file from the DATA partition of the SD Card to your Linux box.
Why do you need an external computer with Linux when you already have one in the form of an X6100? (;

The firmware already contains the sqlite3 utility. All you need is to use the SQL UPDATE command to edit the necessary tables right "on the place".
Is there someone who knows SQL well and can write an SH script and share it with the community (:

73!


 

Thank you Oleg?

On Fri, Mar 22, 2024 at 01:45 Oleg - R1CBU <belousov.oleg@...> wrote:
On Fri, Mar 22, 2024 at 01:10 AM, Niall F5VCV wrote:
1: copy the params.db file from the DATA partition of the SD Card to your Linux box.
Why do you need an external computer with Linux when you already have one in the form of an X6100? (;

The firmware already contains the sqlite3 utility. All you need is to use the SQL UPDATE command to edit the necessary tables right "on the place".
Is there someone who knows SQL well and can write an SH script and share it with the community (:

73!


 

Given that I don't have a keyboard on my X6100, I HAVE NOT TESTED THESE SCRIPTS ON THE RADIO.

They work on my linux box.

the List-Band-IDs.sh will list the id keys for each band and the current band limits.
It's best to run it with a pipe to more
#./List-Band-IDs.sh | more
To modify a band use the script modify_band.sh followed by tir band ID.
for example for 80M
./modify_band.sh 1

** I'm assuming here that the DATA partition is mounted in /mnt? (as seen in the 0.20.1 patch).

Enjoy !??
F5VCV


 

Typo above ... for 80M it,s

#./modify_band.sh 2

F5VCV


 

On Fri, Mar 22, 2024 at 11:38 AM, Niall F5VCV wrote:
Given that I don't have a keyboard on my X6100
"Use serial console, Luk" (;