Just curious about 3ds OS...(Question for devs)

Discussion in '3DS - Homebrew Development and Emulators' started by mironicurse, May 15, 2016.

  1. mironicurse
    OP

    mironicurse GBAtemp Regular

    Member
    119
    37
    Sep 28, 2015
    Russia
    Is it possible to write custom services or any kind of custom background threads in 3DS OS? What is possible now? What are the limits?
    I just thought about custom music player that works in background, or background ftp service, or even background app updater...
     
  2. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    923
    603
    Mar 13, 2015
    Austria
    Austria
    I'm not a dev myself but I understand how the 3DS works somewhat. Yes, in general it would be possible but you'd have to modify the 3DS OS which then makes signatures, as far as I know, invalid and won't let it boot (?).

    Correct me if I'm wrong. Besides that its much easier to just let an application run at bootup before the real OS even starts to patch the OS in the background then so the services will run.
     
  3. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,795
    2,753
    Dec 19, 2014
    Hungary
    This wouldn't be a problem with A9LH.
     
    Feeling it! and hobbledehoy899 like this.
  4. Blue_Mew

    Blue_Mew Team Skull ☠️Grunt☠️

    Member
    2,425
    1,018
    Oct 2, 2015
    United Kingdom
    Faraway Island
    Would a custom GUI for the home screen be possible?
     
  5. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,795
    2,753
    Dec 19, 2014
    Hungary
    Yes. Take a look at homemenu.co!
     
    Feeling it! likes this.
  6. Blue_Mew

    Blue_Mew Team Skull ☠️Grunt☠️

    Member
    2,425
    1,018
    Oct 2, 2015
    United Kingdom
    Faraway Island
    Thats the screen you get when you hold the power button, but what about the actual homescreen like using a launcher on Android.
     
  7. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,795
    2,753
    Dec 19, 2014
    Hungary
    That would also be possible. With A9LH, everything is.
     
    Blue_Mew likes this.
  8. evandixon

    evandixon PMD Researcher

    Member
    1,686
    807
    May 29, 2009
    United States
    IIRC, this is what Hans is, an service running in place of the home menu, doing things like screenshots (home button) and soft reset (L+R+B+Down).
     
  9. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,289
    5,314
    Mar 17, 2010
    Norway
    Alola
    Yes, in fact a custom loader service already exists, it's used by Luma3DS to provide some neat additional features. It can be patched on the fly and theoretically works with any CFW, no a9lh needed.
    NTR-CFW is a good example of what can be done with kernel access. Most of the things you mentioned would be possible with a NTR-CFW plugin. I'm not sure about a music player, it's probably possible but the plugin would need to be able to mute the game as well and I'm not sure if that can be done with just ARM11 kernel.
     
    Last edited by The Real Jdbye, May 15, 2016
  10. Altr0n

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    So, since this loader is presumably open source, I imagine that one could use it as a starting template for getting a background process lauchned and keeping it running? Similar to what I imagine BootNTR does?
     
  11. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,289
    5,314
    Mar 17, 2010
    Norway
    Alola
    Sure, but there are probably better ways to do that.
     
  12. Altr0n

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    Any thoughts or ideas? Maybe some repos you could point us to? I'm also interested in writing a tool that will hopefully run as a BG process.
     
  13. mironicurse
    OP

    mironicurse GBAtemp Regular

    Member
    119
    37
    Sep 28, 2015
    Russia
    Cool! What about memory layout? For N3DS I think it's okay if playing non-exclusive titles and running some "not so hungry" services with extra memory availible, but o3ds? Custom memory-efficent homemenu?
     
  14. LinkSoraZelda

    LinkSoraZelda GBAtemp Advanced Maniac

    Member
    1,980
    627
    Aug 12, 2015
    United States
    Land of the Rising Orange
    The sleep menu is still the home menu...
    Plus it's not the only thing on the site. There's fonts and hud relocations.
     
    Blue_Mew likes this.
  15. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,289
    5,314
    Mar 17, 2010
    Norway
    Alola
    I'm not sure, but I believe part of the memory is reserved for system titles and that NTR etc. use part of this memory, so it shouldn't matter what game you are running. Available memory is probably highly limited though.
     
    mironicurse likes this.