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
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu