Hello GoPro Karma Pilot!
Join our Go Pro Karma community today!
Sign up

Modding Karma Firmware

account deleted

Active Member
Joined
Aug 5, 2023
Messages
39
Reaction score
67
I suggest sharing your experience on modifying the karma firmware

In any case you will need linux

I prefer Xubuntu

Mounting the Karma file system for viewing and testing
sudo apt-get install mtd-utils - Install mtd-utils
sudo modprobe nandsim first_id_byte=0x2c second_id_byte=0xda third_id_byte=0x90 fourth_id_byte=0x95 - NAND Flash simulator
cat /proc/mtd - Looking for number the created MTD

dev: size erasesize name
mtd0: 00800000 00001000 "BIOS"
mtd1: 00400000 00001000 "intel-spi"

mtd2: 10000000 00020000 "NAND simulator partition 0"

sudo dd if=mtdblock4.bin of=/dev/mtd2 - Copy falesystem to simulated NAND
sudo modprobe ubi
sudo modprobe ubifs
sudo ubiattach /dev/ubi_ctrl -d 1 -m 2 -O 2048 - ( -m 2) Change namber to namber mtd
sudo mkdir Filesystem - Create a folder where you will mount Filesystem
ubinfo -a - Get information about filesystem
sudo mount -t ubifs ubi1:rootfs Filesystem - Mount file system in folder "Filesystem"


For unpacking and packing use
https://github.com/onekey-sec/ubi_reader
 
Last edited:
  • Like
Reactions: mefisto82
The simplest example of modification is getting Root or solving a 2020 problem (WMM.COF update)

replace the /opt/sentinel/WMM.COF file
File download this https://www.ngdc.noaa.gov/geomag/WMM/data/WMM2020/WMM2020COF.zip

This problem will become relevant again in 2024.

You can also increase your flight range (
This breaks the law in some countries)

Everything you do is at your own peril and risk.
 
  • Like
Reactions: mefisto82
Das ist ein Log einer Boot Sektor Reparatur (DM368 DEBUG) mit Neustart und anschließenden Update der Firmware über den Gopro Server.

Am Ende ist noch ein Log über STMDBG UART XI2C.
 

Attachments

  • DM36x initialization passed!.txt
    56.9 KB · Views: 7
The simplest example of modification is getting Root or solving a 2020 problem (WMM.COF update)

replace the /opt/sentinel/WMM.COF file
File download this https://www.ngdc.noaa.gov/geomag/WMM/data/WMM2020/WMM2020COF.zip

This problem will become relevant again in 2024.

You can also increase your flight range (
This breaks the law in some countries)

Everything you do is at your own peril and risk.
Thanks for starting a conversation about the WMM as this will be the next big issue we face. My assumption is that we can not change this file until Jan 1 2025 ? Or can we change it now and it will provide another 5 years of cover from the time of the update ?
 
  • Like
Reactions: mefisto82
Thanks for starting a conversation about the WMM as this will be the next big issue we face. My assumption is that we can not change this file until Jan 1 2025 ? Or can we change it now and it will provide another 5 years of cover from the time of the update ?
Unfortunately, the new World Magnetic Model (WMM) will only be available by the end of 2024, at the moment, only WMM2020 is publicly available.
Therefore, we are waiting for the release of WMM2025 and updating.
 
  • Like
Reactions: mefisto82

Members online

No members online now.

Forum statistics

Threads
1,040
Messages
7,642
Members
2,573
Latest member
raith11458