Homebrew Homebrew services

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Does anyone know if it's possible to write a homebrew system service for the 3DS? Obviously this would be running under CFW. I basically want to modify the play coin setter so it runs in the background at all times and sets the play coin count back to 300 every so often without needing to launch the app. Thanks in advance!
 

James310

Well-Known Member
Member
Joined
Oct 4, 2015
Messages
977
Trophies
0
Location
Somewhere in California
XP
883
Country
United States
Does anyone know if it's possible to write a homebrew system service for the 3DS? Obviously this would be running under CFW. I basically want to modify the play coin setter so it runs in the background at all times and sets the play coin count back to 300 every so often without needing to launch the app. Thanks in advance!
Possibly with a9hl but someone one need to start from scratch to make a patch like that or then intergrate it them selves if their using cfw
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Possibly with a9hl but someone one need to start from scratch to make a patch like that or then intergrate it them selves if their using cfw
How would a9lh affect this? Would it allow possibly starting the service running before booting CFW? Alternatively, is this the kind of thing Cakes is intended for?
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
I'm not entirely sure how it's done, but the hax payloads install a few homebrew services as far as I know (hb:kill is one of them, for example). You might want to try poking around in Smea's ninjhax2.x repo on Github.
 
  • Like
Reactions: peteruk

lefthandsword

Well-Known Member
Member
Joined
Apr 6, 2015
Messages
352
Trophies
0
Age
26
Location
root
XP
478
Country
Hong Kong
A custom service for code insertion (a la Xposed/mobilesubstrate) would be nice, the PSP has tons plugins that allow you to modify XMB and games in whatever ways you want and I wanted to see similar things for the 3DS. It would be much safer than modding code.bin directly as plugins could be easily deactivated if it bricks the game or firmware.
 

James310

Well-Known Member
Member
Joined
Oct 4, 2015
Messages
977
Trophies
0
Location
Somewhere in California
XP
883
Country
United States
How would a9lh affect this? Would it allow possibly starting the service running before booting CFW? Alternatively, is this the kind of thing Cakes is intended for?
Something like custom patches would require it to always it be running in the Background including if it's sysnand,a9hl is perfect,I don't say why cakes can't work with it but there person who makes the patch needs to start from scratch
 

mashers

Stubborn ape
OP
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Something like custom patches would require it to always it be running including if it's sysnand,a9hl is perfect,
Well AFAIK a9lh itself doesn't remain resident after boot. It just triggers the payload on the SD card. So perhaps the payload itself could be modified to run a service.

I don't say why cakes can't work with it but there person who makes the patch needs to start from scratch
What do you mean by start from scratch?


A service which manages other services would be a useful, though ambitious, project. Something which could run in the background and handle the loading and running of other services from the SD card would make it much easier to implement new services in the future. If it did run through a9lh somehow then I'm assuming it would be CFW agnostic.
 
  • Like
Reactions: Games&Stuff

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Something like custom patches would require it to always it be running in the Background including if it's sysnand,a9hl is perfect,I don't say why cakes can't work with it but there person who makes the patch needs to start from scratch
What are you even talking about :wtf:
 
  • Like
Reactions: daxtsu

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
A custom service for code insertion (a la Xposed/mobilesubstrate) would be nice, the PSP has tons plugins that allow you to modify XMB and games in whatever ways you want and I wanted to see similar things for the 3DS. It would be much safer than modding code.bin directly as plugins could be easily deactivated if it bricks the game or firmware.
Something like this would require kernel access in order to perform proper hooking.
 

lefthandsword

Well-Known Member
Member
Joined
Apr 6, 2015
Messages
352
Trophies
0
Age
26
Location
root
XP
478
Country
Hong Kong
Something like this would require kernel access in order to perform proper hooking.
It could be solved by adding a backdoor syscall to arm11 kernel, iirc someone is working (iirc it's merged into cakes but not functional atm) on adding a backdoor to process9 to allow arm9 access from arm11 userland without further exploits under CFW.
 
Last edited by lefthandsword,

Criminal90

Well-Known Member
Newcomer
Joined
Feb 4, 2007
Messages
71
Trophies
0
XP
273
Country
Italy
Does anyone know if it's possible to write a homebrew system service for the 3DS? Obviously this would be running under CFW. I basically want to modify the play coin setter so it runs in the background at all times and sets the play coin count back to 300 every so often without needing to launch the app. Thanks in advance!
You can already do with NTR, write a plugin for home instead for a specific title id and you are done
 

the assaf

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
489
Trophies
0
Age
29
XP
360
Country
Does anyone know if it's possible to write a homebrew system service for the 3DS? Obviously this would be running under CFW. I basically want to modify the play coin setter so it runs in the background at all times and sets the play coin count back to 300 every so often without needing to launch the app. Thanks in advance!
I don't really understand why you need always 300 play coins. Some services can be much more useful, for an example emu/sysNAND detector.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I love how insurance companies can deny procedures because they deem it not medically necessary despite the procedure being ordered by a doctor
  • K3Nv2 @ K3Nv2:
    Going with that right now with a dental claim morons put the wrong company name and rejected claims been on hold an hour for the claims department
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, BTW is it better to go usb or bt for these mini Pcs figure you may know since you play with rack systems so much
  • Sicklyboy @ Sicklyboy:
    Counting my blessings that my insurance hasn't caused me really any headache (yet, at least) despite the fact that I've been getting way more appointments and what not recently due
  • Sicklyboy @ Sicklyboy:
    @K3Nv2, what do you mean, what are you trying to do?
  • K3Nv2 @ K3Nv2:
    Just looking at a built in mouse pad keyboard combo
  • K3Nv2 @ K3Nv2:
    I loose the dongle constantly but they may have better connection with usb frequency
  • Sicklyboy @ Sicklyboy:
    Imo Bluetooth is always a option of last resort for me
  • Sicklyboy @ Sicklyboy:
    Except for phones because it tends to be pretty reliable there
  • K3Nv2 @ K3Nv2:
    I got a bad habit of taking out usb transmitter and loosing it because they can't you know print names on the damn things
  • Sicklyboy @ Sicklyboy:
    But any desktop OS, I've never had anything but frustration trying to get Bluetooth devices to work reliably and stable. It might pair and connect once, and then next time I go to use it I have to delete and re-pair it again
  • K3Nv2 @ K3Nv2:
    5.3 has been so good I think 6 is really going to make it stable
  • K3Nv2 @ K3Nv2:
    I remember how shit 3 was
  • Sicklyboy @ Sicklyboy:
    Ptouch labeler aren't terribly expensive, label shit yourself fam. This is the one I own and there are cheaper ones too https://www.amazon.com/Brother-P-Touch-PTH110BP-Portable-included/dp/B09QXYND6S
  • Sicklyboy @ Sicklyboy:
    Solves part of the problem, mixing up which dongle is which. Then you just have to not lose them lol
  • K3Nv2 @ K3Nv2:
    Double D would be proud
    +1
  • Sicklyboy @ Sicklyboy:
    Even my Xbox One controller I have it paired to my desktop over Bluetooth, it USUALLY works but sometimes it refuses to connect and I have to delete and re-pair it. Maddening
  • K3Nv2 @ K3Nv2:
    Gigabytes built in mobo bt/wifi pairs pretty decent
  • Sicklyboy @ Sicklyboy:
    That's what I'm using :(
  • K3Nv2 @ K3Nv2:
    Ran a driver update in device manager?
  • Sicklyboy @ Sicklyboy:
    Not recently but I think it's less a driver issue and more just Windows having a garbage Bluetooth stack
  • K3Nv2 @ K3Nv2:
    Could be I was having issues when I first upgraded it and didn't realiser gigabyte has specific driver revisions which is stupid
  • K3Nv2 @ K3Nv2:
    Which is married to the boards revision
  • Xdqwerty @ Xdqwerty:
    Made my first review
  • RedColoredStars @ RedColoredStars:
    I've gone years without ever removing a logitech usb transmitter. Across several replacements of keyboards and mice. It just stays put.
    RedColoredStars @ RedColoredStars: I've gone years without ever removing a logitech usb transmitter. Across several replacements of...