Coder Social home page Coder Social logo

Comments (8)

Syphurith avatar Syphurith commented on June 16, 2024

Surely this way is better. However i can not find the old link for how to extract contents from .app files.
These files can be generated by rxTools decrypt system titles. Or from FunkyCIA maybe (even).

from free-multi-patcher.

Hartie95 avatar Hartie95 commented on June 16, 2024

Would be interesting to know how the system settings application is getting these informations.

from free-multi-patcher.

Syphurith avatar Syphurith commented on June 16, 2024

@hartmannaf The one dumped by my rxTools should to be decypted but not. Which then turns out, these CVer and NVer are stored as encrypted even in NAND. You could just get one .app from decrypted NAND partition, and use rxTools to decrypt it with ncchinfo.bin and padxorer.

  • Dump and Decrypt NAND Image (If already have, just skip this part)
    • Use GW to dump your NAND.bin
    • Use RxTools to generate the FAT16 xorpad
    • Use Padxorer to create the decrypted NAND
    • Use WinImage/UltraISO or other, to mount and unpack the decrypted NAND
  • Get the title and decrypt it.
    • Check your <nand>/title/000400db for any 16?02 17?02
      • TitleId may differ. You may want to take a look at Title_List on 3dbrew
    • Get the content folder, and find the .app files.
    • These .app are encrypted, get your rxTools to generate a ncchinfo.bin for it.
    • Get ctrtool, and you would need to unpack the file. Something like:
      • ctrtool -p --romfs=romfs.bin --exefs=exefs.bin --exheader=exheader.bin <file>
    • Generate xorpad with rxtools, and get the pad for your .app.
    • use padxorer to decrypt the romfs.bin
    • It is now decrypted. Use ctrtool to unpack. As padxorer output is already decrypted_romfs.bin.
      • ctrtool -t romfs --romfsdir=romfs decrypted_romfs.bin.
  • Now search for a version.bin and check it out. For me it contains only 8 bytes.
    • 00 00 19 00 4A 00 00 00 for my 9.8 JPN EmuNAND.

I don't know if there is any easier way for you. The steps above are just manual usage.
I suggest you to ask @dukesrg and even other for homebrew development for this.

from free-multi-patcher.

Syphurith avatar Syphurith commented on June 16, 2024

IIRC, there is a special register that could be accessed from CFW.. (ARM9)
But i don't know if there is also a reg for you in ARM11.
NTR just detects the version using HomeMenu one, and that should be included in BootNTR.
Or else you may check TMD for other for the version number. Easier than the f*cking version.bin.
Also contact @Steveice10 for how to use his ctrcommon. There is a osGetKernelVersion function.

from free-multi-patcher.

Hartie95 avatar Hartie95 commented on June 16, 2024

I will lock into BootNTRs detection. But there need to be a clean way to get the firmware Version on arm11 because the system settings application can do it too. But maybe it is done using a service that isn't fully reverse engineered at the moment.

from free-multi-patcher.

Syphurith avatar Syphurith commented on June 16, 2024

BootNTR did that using ctrcommon library from Steveice10.

from free-multi-patcher.

Hartie95 avatar Hartie95 commented on June 16, 2024

In BootNTR he seems to check home menus memory at one position, after that I think he is defining the home menu version by himself, depending on the code on that position.

from free-multi-patcher.

Hartie95 avatar Hartie95 commented on June 16, 2024

Thanks to yellows8 release of his themehax installer, im now able to read the cver and nver from nand. It will be included in the next version push to my patchLayout Branch

from free-multi-patcher.

Related Issues (14)

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.