Homebrew [Release] Inject any app into Health & Safety (O3DS/N3DS/CFW only)

  • Thread starter d0k3
  • Start date
  • Views 239,331
  • Replies 527
  • Likes 40

LegendAssassinF

Well-Known Member
Member
Joined
Dec 12, 2012
Messages
879
Trophies
0
Age
31
Location
Princeton, New Jersey
Website
www.youtube.com
XP
457
Country
United States
What is the output of the script exactly

Last login: Tue Feb 16 16:43:23 on ttys000

/Users/Santiago/Downloads/Universal-Inject-Generator-master/go.sh ; exit;

FerminSosLaptop:~ Santiago$ /Users/Santiago/Downloads/Universal-Inject-Generator-master/go.sh ; exit;

ERROR: hs.app not found

Please generate hs.app with Decrypt9 and put it into the input folder

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Last login: Tue Feb 16 16:43:23 on ttys000

/Users/Santiago/Downloads/Universal-Inject-Generator-master/go.sh ; exit;

FerminSosLaptop:~ Santiago$ /Users/Santiago/Downloads/Universal-Inject-Generator-master/go.sh ; exit;

ERROR: hs.app not found

Please generate hs.app with Decrypt9 and put it into the input folder

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]
EDIT: Oh the problem is you must be in the folder that go.sh is in for it to work properly, so it's searching for a hs.app file in your home directory
 
Last edited by dark_samus3,

LegendAssassinF

Well-Known Member
Member
Joined
Dec 12, 2012
Messages
879
Trophies
0
Age
31
Location
Princeton, New Jersey
Website
www.youtube.com
XP
457
Country
United States
EDIT: Oh the problem is you must be in the folder that go.sh is in for it to work properly, so it's searching for a hs.app file in your home directory

Moved everything to the "Home" folder and now this happens

--- UNIVERSAL INJECT GENERATOR V0.3 ---

--- LINUX EDITION ---



[+] IDENTIFY FILES TO WORK WITH

tools/process.sh: line 14: ./tools/ctrtool-linux: cannot execute binary file

mv: rename work/ciacnt.0000.* to work/inject.app: No such file or directory

[+] EXTRACT HS AND INJECT APP

tools/process.sh: line 18: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 19: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 20: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 21: tools/3dstool-linux: cannot execute binary file

[+] GENERATE NEW EXEFS

cp: work/inject_exefs/code.bin: No such file or directory

tools/process.sh: line 25: tools/3dstool-linux: cannot execute binary file

cp: work/inject_exefs/banner.bnr: No such file or directory

cp: work/inject_exefs/icon.icn: No such file or directory

tools/process.sh: line 28: tools/3dstool-linux: cannot execute binary file

[+] GENERATE NEW ROMFS

tools/process.sh: line 33: tools/3dstool-linux: cannot execute binary file

[+] MERGE EXHEADER

tools/process.sh: line 36: tools/MergeExHeader-linux: cannot execute binary file

[+] REBUILD HS INJECT APP

tools/process.sh: line 42: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 47: tools/3dstool-linux: cannot execute binary file

stat: illegal option -- c

usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

stat: illegal option -- c

usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

stat: illegal option -- c

usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

mv: rename input/FBI_inject_no_banner.app to ./FBI_inject_no_banner.app: No such file or directory

mv: rename input/FBI_inject_with_banner.app to ./FBI_inject_with_banner.app: No such file or directory

[+] HS APP ORIGINAL SIZE : bytes

[+] HS APP INJECT (N) SIZE: bytes

/!\ INJECT APP IS BIGGER THAN HS APP

[+] HS APP INJECT (B) SIZE: bytes

/!\ INJECT APP IS BIGGER THAN HS APP

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Moved everything to the "Home" folder and now this happens

--- UNIVERSAL INJECT GENERATOR V0.3 ---

--- LINUX EDITION ---



[+] IDENTIFY FILES TO WORK WITH

tools/process.sh: line 14: ./tools/ctrtool-linux: cannot execute binary file

mv: rename work/ciacnt.0000.* to work/inject.app: No such file or directory

[+] EXTRACT HS AND INJECT APP

tools/process.sh: line 18: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 19: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 20: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 21: tools/3dstool-linux: cannot execute binary file

[+] GENERATE NEW EXEFS

cp: work/inject_exefs/code.bin: No such file or directory

tools/process.sh: line 25: tools/3dstool-linux: cannot execute binary file

cp: work/inject_exefs/banner.bnr: No such file or directory

cp: work/inject_exefs/icon.icn: No such file or directory

tools/process.sh: line 28: tools/3dstool-linux: cannot execute binary file

[+] GENERATE NEW ROMFS

tools/process.sh: line 33: tools/3dstool-linux: cannot execute binary file

[+] MERGE EXHEADER

tools/process.sh: line 36: tools/MergeExHeader-linux: cannot execute binary file

[+] REBUILD HS INJECT APP

tools/process.sh: line 42: tools/3dstool-linux: cannot execute binary file

tools/process.sh: line 47: tools/3dstool-linux: cannot execute binary file

stat: illegal option -- c

usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

stat: illegal option -- c

usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

stat: illegal option -- c

usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

mv: rename input/FBI_inject_no_banner.app to ./FBI_inject_no_banner.app: No such file or directory

mv: rename input/FBI_inject_with_banner.app to ./FBI_inject_with_banner.app: No such file or directory

[+] HS APP ORIGINAL SIZE : bytes

[+] HS APP INJECT (N) SIZE: bytes

/!\ INJECT APP IS BIGGER THAN HS APP

[+] HS APP INJECT (B) SIZE: bytes

/!\ INJECT APP IS BIGGER THAN HS APP

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]
Working perfect then, until I get OS X support added it won't actually make inject ready files but the issue you had is now gone :)
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
:(((((( Noooooo lol ok so I just need to wait
I have school to go to soon, (just one class today, but it's a 3 hour class) after that I have to get a new card reader (mine died and my console was bricked when it died, as it was restoring a NAND backup when it did and it left my NAND in a bad state) after that I'll be home and it should only take ~15 minutes to get the changes made and a pull request up
 

LegendAssassinF

Well-Known Member
Member
Joined
Dec 12, 2012
Messages
879
Trophies
0
Age
31
Location
Princeton, New Jersey
Website
www.youtube.com
XP
457
Country
United States
I have school to go to soon, (just one class today, but it's a 3 hour class) after that I have to get a new card reader (mine died and my console was bricked when it died, as it was restoring a NAND backup when it did and it left my NAND in a bad state) after that I'll be home and it should only take ~15 minutes to get the changes made and a pull request up

Ah ok I'm going to look into just getting someone to compile it for me since seems like Windows makes this process super easy and Mac is a headache lol
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Dark_samus was able to fix the problem but it seems to be a Mac issue he trying to fix so just trying to find someone I can send the file to and compile it for me
It's no issue other than the tools just need to be compiled for Mac and placed in the proper places, along with a few small script changes (which are already up on my fork of the generator)
 

LegendAssassinF

Well-Known Member
Member
Joined
Dec 12, 2012
Messages
879
Trophies
0
Age
31
Location
Princeton, New Jersey
Website
www.youtube.com
XP
457
Country
United States
It's no issue other than the tools just need to be compiled for Mac and placed in the proper places, along with a few small script changes (which are already up on my fork of the generator)

Ah ok guess I'll just transfer my old SD Card of stuff and just wait around for it to come out :D

--------------------- MERGED ---------------------------

It's no issue other than the tools just need to be compiled for Mac and placed in the proper places, along with a few small script changes (which are already up on my fork of the generator)

I was so mad that I got FBI as a cia then when I transfered my old stuff onto my 3DS I deleted it by mistake :(
 

andeers

Well-Known Member
Member
Joined
Aug 22, 2012
Messages
159
Trophies
1
XP
1,923
Country
Cote d'Ivoire
Hi! I've tried Decrypt9, I want to inject fbi over H&S on SYSNAND, because rxtools does nothing to my H&S app. When trying to dump my H&S, i got this:

Searching title "Health&Safety"...
Method 1: Search in title.db...
System version 4.x
Found title 0004001000021300
TMD0 found at 16070000, size 2868b
APP0 not found or fragmented!
Health&Safety Dump: failed!

What can I do? D:
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Hi! I've tried Decrypt9, I want to inject fbi over H&S on SYSNAND, because rxtools does nothing to my H&S app. When trying to dump my H&S, i got this:

Searching title "Health&Safety"...
Method 1: Search in title.db...
System version 4.x
Found title 0004001000021300
TMD0 found at 16070000, size 2868b
APP0 not found or fragmented!
Health&Safety Dump: failed!

What can I do? D:
You have to defragment your NAND, unfortunately it's a somewhat risky process as you'll need to dump your NAND, modify it and then restore it... you can use decrypt9 to dump the decrypted NAND and then use a tool (not sure which, someone else will have to tell you) to defragment it, then you'll need to reinject with decrypt9
 

andeers

Well-Known Member
Member
Joined
Aug 22, 2012
Messages
159
Trophies
1
XP
1,923
Country
Cote d'Ivoire
You have to defragment your NAND, unfortunately it's a somewhat risky process as you'll need to dump your NAND, modify it and then restore it... you can use decrypt9 to dump the decrypted NAND and then use a tool (not sure which, someone else will have to tell you) to defragment it, then you'll need to reinject with decrypt9
Hmmm, seriously screwed! I have unlinked NANDs, is there a way to re-link them? I just want to do this to play some GBA .cias, so if I can link them again I have an alternative solution.

Thank you for answering!
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Hmmm, seriously screwed! I have unlinked NANDs, is there a way to re-link them? I just want to do this to play some GBA .cias, so if I can link them again I have an alternative solution.

Thank you for answering!
you could downgrade your emuNAND to whatever version you want to have on sysNAND, back that up and flash it into sysNAND, that'll also defragment it I think
 

Skorpion

New Member
Newbie
Joined
Feb 17, 2016
Messages
2
Trophies
0
Age
28
XP
52
Country
Hi guys, seem to be having a small problem with injecting BBM into H&S.
Firstly i dumped the H&S via Decript9WIP onto my sd
Thereafter I unmounted the sd, used universalInjectGenerator and placed the hs.app into the input folder
ran the go.bat file
renamed BigBlue with banner.app to hs.app
installed onto my 3ds with decrypt
successful but when i reboot, my H&S app disappears
I then redid the process (installed my hs.app backup and re-injected) and now my H&S refuses to open and wants me to install from the store.

Any Help?
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Hi guys, seem to be having a small problem with injecting BBM into H&S.
Firstly i dumped the H&S via Decript9WIP onto my sd
Thereafter I unmounted the sd, used universalInjectGenerator and placed the hs.app into the input folder
ran the go.bat file
renamed BigBlue with banner.app to hs.app
installed onto my 3ds with decrypt
successful but when i reboot, my H&S app disappears
I then redid the process (installed my hs.app backup and re-injected) and now my H&S refuses to open and wants me to install from the store.

Any Help?
it only works when booting the application from a CFW, all of what you say is expected behavior if you aren't in CFW
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Hi! I've tried Decrypt9, I want to inject fbi over H&S on SYSNAND, because rxtools does nothing to my H&S app. When trying to dump my H&S, i got this:

Searching title "Health&Safety"...
Method 1: Search in title.db...
System version 4.x
Found title 0004001000021300
TMD0 found at 16070000, size 2868b
APP0 not found or fragmented!
Health&Safety Dump: failed!

What can I do? D:
You have to defragment your NAND, unfortunately it's a somewhat risky process as you'll need to dump your NAND, modify it and then restore it... you can use decrypt9 to dump the decrypted NAND and then use a tool (not sure which, someone else will have to tell you) to defragment it, then you'll need to reinject with decrypt9
Seconding that, use Defraggler and OSFmount for the defragmentation. And don't use GWs downgrade feature again - that's the one responsible!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @BakerMan, hi