Nds firmware (un)packer + flashme source code

Discussion in 'Other Flashing Hardware & Software' started by bilibili2011, Dec 8, 2014.

  1. bilibili2011
    OP

    bilibili2011 Newbie

    Newcomer
    6
    1
    Nov 25, 2014
    France
    Hi everybody, i wanted to share that with you : Loopy, the guy who created flashme, gave me the source code of a program which can unpack and repack the nds firmware, he told me that most of the code was not from him and that the creator didn't want it shared.:nds:
    Unfortunately, i can't compile it as there are too many errors in my IDE, i don't have enough skill to solve all errors.:angry:

    [MAJ]: I managed to do it

    Also he gave me the source code of flashme and noflashme (the homebrews not the firmwares), but again, unfortunately the makefile is missing and have to be written and i can't compile it.

    The goal of this thread is that people help compiling these programs so we could edit the nds firmware and send it back to the nds, about noflashme we can also edit the already existing release with an hex editor, i mean replacing the integrated firmware in noflashme.nds, it may work.

    Help is welcome, thanks.
    https://mega.nz/#F!3wYyDbbb!lrwjJNFJF-V9VWvGGEMNUQ
     
    Last edited by bilibili2011, Jan 22, 2016
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,370
    9,174
    Nov 21, 2005
    Is it any different to the existing firmware unpacker?
    http://gbatemp.net/threads/fwunpack.44515/
    http://problemkaputt.de/gbatek.htm#dsfirmwareserialflashmemory might also be worth knowing about if you did not already, it covers some things which may not be clear from the source code and vice versa the source code will probably provide some worked examples of some of the things that might be vague on that (and the DS firmware is a mess of different compressions and encodings).

    Anyway if you are into firmwares you might also like http://fwnitro.caitsith2.net/ (should have some source you can look at) , Loopy also had a somewhat minimalist firmware and there was another I think in the form of http://gbatemp.net/threads/creebome-ds-firmware-released.43280/

    Likewise I would probably set up a hardware flasher (ppflash from http://www.darkfader.net/ds/ is the main one people use), even if you have a recovery section in the first few bytes I would still have it.

    Have fun, I am not sure what a hacked firmware for the DS would do at this stage but I always like these sorts of projects.
     
  3. bilibili2011
    OP

    bilibili2011 Newbie

    Newcomer
    6
    1
    Nov 25, 2014
    France
    Hi, it is not only an unpacker it can repack the firmware, it was created 10 years ago but only released now.
    I already saw your links: about ppflash it's too difficult i don't have enough skill.

    I just think it would be cool to have a nds with customized strings and images.