Giter VIP home page Giter VIP logo

mmcblknx's Introduction

mmcblkNX

mmcblkNX

Hardware eMMC reader capable of reading Nintendo Switch raw partitions including boot0, boot1 with rtsx Linux driver.

About

eMMC chips wear out, and recovery can be tricky.
Luckily, the Nintendo Switch (except Lite) has a removable eMMC board.
It is encrypted, but still readable and writable as raw partitions.

When the eMMC fails it often becomes read-only or worse - corrupt.
I have recovered a couple broken Nintendo this way, it might help you too!

How it works

Almost any SD card reader can read eMMC chips. However they only access the main partitions.
After discovering a Realtek card reader with rtsx Linux driver in an old laptop,
I could read the boot0 and boot1 partitions too.

Hardware

It is fully open-source reader based on Realtek RTS5170 card reader and designed in KiCad.
Uses the same Molex 500913-0302 connector.

Software

Requires Linux and rtsx drivers to be installed.
Works out of the box with Ubuntu 20.04.1
How to build the required drivers for Raspberry Pi 4 is here.

Read and write speed is about 20MB/s. (USB 2.0)

Usage

sudo dd if=/dev/mmcblk0boot0 of=boot0.bin
sudo dd if=/dev/mmcblk0boot1 of=boot1.bin
sudo dd if=/dev/mmcblk0 of=rawnand.bin

Disable read-only mode

sudo su
echo 0 > /sys/block/mmcblk0/force_ro
echo 0 > /sys/block/mmcblk0boot0/force_ro
echo 0 > /sys/block/mmcblk0boot1/force_ro
exit

Where can I get one

I made a small batch and they are available on Tindie.
https://www.tindie.com/products/22851/
Or feel free to assemble one yourself.

Disclaimer

It does not decrypt your files or enable piracy of any kind.
It is created to make recovery possible.
In full support of the right to repair movement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.