Some Questions about Notifications

Discussion in '3DS - Homebrew Development and Emulators' started by josamilu, Mar 23, 2015.

  1. josamilu
    OP

    josamilu GBAtemp Fan

    Member
    383
    213
    Feb 1, 2015
    Gambia, The
    Saturn is better than Jupiter :P
    So maybe you heard that I tried to add Notifications trought a Homebrew app in CFW.
    I finaly did it and got the Notification posted. With the Notification I was able to start the Homebrew app trought the Notification.
    Behind this entire project I have a general theory/idea.
    Are we able to launch the Homebrew App through the Notifications Applet in SYSnand?
    I did some reaserch about the Notification Applet, but there is neraly no documentation about it.
    So I decided to do the research on my own.
    I went into SYSnand and wanted to start the Homebrew app trough Sysnand. But when I looked there there was not the Notification that I made with the app.
    So now my Questions.

    -Is the Notification removed when looking at it in Sysnand? (I think no, because the Notification is still there in CFW)
    -Where is the Notification saved? (Maybe on the NAND? I don't think it is saved on the SD Card)
    -If the Notification is saved on the secret partition on the CFW emunand, are we able to extract it unpatch the CFW and then load it in again to use it with MT Card Classic Emunand and the Notification is still there?

    Those are just some ideas I have since a long term in my mind. Thanks for anyone who helps :D

    -josamilu
     
  2. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,539
    3,929
    Jun 9, 2007
    Antarctica
    They're stored on the NAND (meaning on emuNAND it'd be in your emuNAND partition) as far as I know:
    • "news.db": This is the main save-file, the filesize is fixed to 0x2BD0-bytes.
    • "newsXXX.txt" This is the message data for this notification, where XXX is the decimal notification-index in the below headers-array. The filesize should be <= <size listed here>, since that's the max size read by the notifications applet.
    • "newsXXX.mpo" This is the MPO data for this notification if any, where XXX is the decimal notification-index in the below headers-array. The filesize should be <= <size listed here>, since that's the max size read by the notifications applet.
    Even if you could get a notification from a homebrew application onto your sysNAND, you'd have to be running in Gateway sysNAND mode or using that PBT CFW in order to launch your homebrew, since the signing checks (that would verify your homebrew CIA is, in fact, not signed correctly) would still be in place otherwise.
     
    DarkFlare69 likes this.
  3. josamilu
    OP

    josamilu GBAtemp Fan

    Member
    383
    213
    Feb 1, 2015
    Gambia, The
    Saturn is better than Jupiter :P
    Thanks for the Info where the Notifications are stored. I will look into it tomorrow. I'm pretty sure your right with the signing checks, but maybe (i sure they are not) they are disabled, if you run an app trought the Notifications.
     
  4. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,539
    3,929
    Jun 9, 2007
    Antarctica

    I highly doubt they would ever be disabled normally.