Skip to content

Instantly share code, notes, and snippets.

@CodeZombie
Last active November 4, 2026 03:03
Show Gist options
  • Select an option

  • Save CodeZombie/83be58b000ee6a14c7b91a6027a8eedf to your computer and use it in GitHub Desktop.

Select an option

Save CodeZombie/83be58b000ee6a14c7b91a6027a8eedf to your computer and use it in GitHub Desktop.
GA36-MB microSD Card Fix/Mount Guide

GA36-MB V1.x MicroSD Card Mount/MBR Fix Guide

Preamble

The Master Boot Record on the stock microSD card that comes with the GA36-MB v1.x is broken.

Master Boot Record (MBR) is a table at the very beginning of the microSD card that tells your computer about all the partitions on the card.

MBR takes up exactly 512 bytes, and must end with the two bytes 0x55 and 0xaa

Through some series of mistakes, negligence, or general incomptence, the manufacturer of the ga36mbv1.2 has set these two bytes instead to 0xc3 and 0x5a. This means no operating system will enumerate the table, and no partitions will be mountable.

But we can fix it.

If we switch those bytes back to what they're supposed to be, the MBR will be repaired and you will be able to mount and add/remove files to your roms partition.

Linux Guide

  1. Plug the microSD card into your computer.
  2. Run lsblk to identify the device file representing the microSD card. It'll be the letters sd followed by another letter (For example, sdc, sdd, sde, etc). Make sure you identify the correct one! For the rest of this guide I'll use sdX as a placeholder for the device file you found.
  3. [optional] Let's confirm that you have the right device. Run hexdump -s 510 -n 2 -C /dev/sdX (replace sdX with the device path you found in step 2). You should see 000001fe c3 5a.
  4. Run printf '\x55\xaa' | sudo dd bs=1 seek=510 conv=notrunc of=/dev/sdX (again, replacing sdX with the device path you found in step 2).
  5. If everything worked, your OS should automatically see the two new partitions. If not, try sudo partprobe /dev/sdX (don't forget to replace sdX!) to force linux to re-read the fixed partition table.
  6. Done! You have now permanently fixed the master boot record and can now add your own games!

You should now be able to resize the roms partition using any old partition manager software to take advantage of the full capacity of your microSD card!

Windows Guide

The freeware program HxD can be used to modify the specific offsets by hand.

  1. Download and install HxD from here: https://mh-nexus.de/en/downloads.php?product=HxD20
  2. Insert your MicroSD card into your computer.
  3. Open HxD as administrator and select Open Disk
  4. Select your microSD card. Uncheck "Open as Readonly"
  5. Ensure Bytes Per Row is set to 16, and Byte Order is set to Little Endian.
  6. Click Search -> Go to, and type in 1FE and press enter.
  7. At the bottom right, check Hexadecimal basis
  8. Now in the panel on the right, find the Uint16 field and enter AA55, then press Enter.
  9. Click file -> save. Accept the warning.
  10. Close HxD and eject the microSD card.
  11. You're done!

Huge thanks to dsalinasv for figuring out how do it on Windows.

MacOS Guide

I don't have a Mac! If anyone is able to figure out the steps for MacOS and leave it in the comments I'll copy it up to this section (with credit) :)

Android Guide

It'd be nice to have an android guide for this as well, as some people don't have desktop computers or laptops, and their main point of computing is android. They deserve to add their own roms to their scam handheld too! I'll see if I can figure this out and write the steps here.

Thx

Big thanks to marasomer46-glitch and sumsu on github for testing, providing additional info, and figuring out the that you can resize the roms partition

@dsalinasv

Copy link
Copy Markdown

En Windows use el programa HxD, una línea antes de la offset 200h (512) cambie los valores que indicas, con eso ya puedo ver los roms gracias.

image

@AnotherNoobCoder

Copy link
Copy Markdown

Hi, i do same and didnt work's. The sd is in exFat , and i try sd/megadrive, and game/medadrive and dont work. ¿Can you help me? Sorry for my bad english.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment