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

  • Thread starter d0k3
  • Start date
  • Views 240,522
  • Replies 527
  • Likes 40

V0LT!GE

Well-Known Member
Newcomer
Joined
Feb 13, 2016
Messages
99
Trophies
0
Age
25
XP
171
Country
Gambia, The
can someone help me ?
i cant create the FBI_inject_with_banner.app and FBI_inject_no_banner.app cuz the files which cant be found/create in the Terminal

OUTPUT ERROR IN TERMINAL:

murruk@murruk-E122X:~$ cd Schreibtisch/
murruk@murruk-E122X:~/Schreibtisch$ cd Universal-Inject-Generator-master/
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ ls
cdgo.bat _inject_no_banner.app input tools
go.sh _inject_with_banner.app readme.md work
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ sudo sh go.sh
[sudo] Passwort für murruk:
[3;J
go.sh: 9: [: Linux: unexpected operator
--- UNIVERSAL INJECT GENERATOR V0.3 ---
--- LINUX EDITION ---


[+] IDENTIFY FILES TO WORK WITH
cp: Fehlender Zieldatei‐Operand hinter »work/hs.app“
„cp --help“ liefert weitere Informationen.
mv: Aufruf von stat für »work/ciacnt.0000.*“ nicht möglich: Datei oder Verzeichnis nicht gefunden
[+] EXTRACT HS AND INJECT APP
[+] GENERATE NEW EXEFS
cp: Aufruf von stat für »work/inject_exefs/code.bin“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »work/inject_exefs/banner.bnr“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »work/inject_exefs/icon.icn“ nicht möglich: Datei oder Verzeichnis nicht gefunden
[+] GENERATE NEW ROMFS
[+] MERGE EXHEADER
[+] REBUILD HS INJECT APP
ls: Zugriff auf work/hs.app nicht möglich: Datei oder Verzeichnis nicht gefunden
./tools/ctrtool-linux: 1: ./tools/ctrtool-linux: Syntax error: Unterminated quoted string
[DBG:]argc=4
[DBG:]argv[0]=./tools/MergeExHeader-linux
[DBG:]argv[1]=work/inject_exhdr.bin
[DBG:]argv[2]=work/hs_exhdr.bin
[DBG:]argv[3]=work/merge_exhdr.bin
[INFO]Exheader Merge for APP injection.
[INFO]Loading files. New=work/inject_exhdr.bin, Old=work/hs_exhdr.bin....FAIL. File not found!
mv: »_inject_no_banner.app“ und »./_inject_no_banner.app“ sind die gleiche Datei
mv: »_inject_with_banner.app“ und »./_inject_with_banner.app“ sind die gleiche Datei
[+] HS APP ORIGINAL SIZE : bytes
[+] HS APP INJECT (N) SIZE: 0 bytes
go.sh: 71: [: -lt: unexpected operator
[+] HS APP INJECT (B) SIZE: 0 bytes
go.sh: 77: [: -lt: unexpected operator
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: unknown file type

ERROR: open file work/hs.app failed

ERROR: unknown file type

ERROR: open file work/hs_exefs.bin failed

ERROR: create file failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: unknown file type

ERROR: open file work/inject.app failed

ERROR: open file work/hs_hdr.bin failed

ERROR: create file failed

ERROR: open file work/hs_hdr.bin failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: create file failed

ERROR: open file work/inject.app failed

ERROR: unknown file type

ERROR: open file work/hs_exefs.bin failed

ERROR: create file failed


 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
can someone help me ?
i cant create the FBI_inject_with_banner.app and FBI_inject_no_banner.app cuz the files which cant be found/create in the Terminal

OUTPUT ERROR IN TERMINAL:

murruk@murruk-E122X:~$ cd Schreibtisch/
murruk@murruk-E122X:~/Schreibtisch$ cd Universal-Inject-Generator-master/
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ ls
cdgo.bat _inject_no_banner.app input tools
go.sh _inject_with_banner.app readme.md work
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ sudo sh go.sh
[sudo] Passwort für murruk:
[3;J
go.sh: 9: [: Linux: unexpected operator
--- UNIVERSAL INJECT GENERATOR V0.3 ---
--- LINUX EDITION ---


[+] IDENTIFY FILES TO WORK WITH
cp: Fehlender Zieldatei‐Operand hinter »work/hs.app“
„cp --help“ liefert weitere Informationen.
mv: Aufruf von stat für »work/ciacnt.0000.*“ nicht möglich: Datei oder Verzeichnis nicht gefunden
[+] EXTRACT HS AND INJECT APP
[+] GENERATE NEW EXEFS
cp: Aufruf von stat für »work/inject_exefs/code.bin“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »work/inject_exefs/banner.bnr“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »work/inject_exefs/icon.icn“ nicht möglich: Datei oder Verzeichnis nicht gefunden
[+] GENERATE NEW ROMFS
[+] MERGE EXHEADER
[+] REBUILD HS INJECT APP
ls: Zugriff auf work/hs.app nicht möglich: Datei oder Verzeichnis nicht gefunden
./tools/ctrtool-linux: 1: ./tools/ctrtool-linux: Syntax error: Unterminated quoted string
[DBG:]argc=4
[DBG:]argv[0]=./tools/MergeExHeader-linux
[DBG:]argv[1]=work/inject_exhdr.bin
[DBG:]argv[2]=work/hs_exhdr.bin
[DBG:]argv[3]=work/merge_exhdr.bin
[INFO]Exheader Merge for APP injection.
[INFO]Loading files. New=work/inject_exhdr.bin, Old=work/hs_exhdr.bin....FAIL. File not found!
mv: »_inject_no_banner.app“ und »./_inject_no_banner.app“ sind die gleiche Datei
mv: »_inject_with_banner.app“ und »./_inject_with_banner.app“ sind die gleiche Datei
[+] HS APP ORIGINAL SIZE : bytes
[+] HS APP INJECT (N) SIZE: 0 bytes
go.sh: 71: [: -lt: unexpected operator
[+] HS APP INJECT (B) SIZE: 0 bytes
go.sh: 77: [: -lt: unexpected operator
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: unknown file type

ERROR: open file work/hs.app failed

ERROR: unknown file type

ERROR: open file work/hs_exefs.bin failed

ERROR: create file failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: unknown file type

ERROR: open file work/inject.app failed

ERROR: open file work/hs_hdr.bin failed

ERROR: create file failed

ERROR: open file work/hs_hdr.bin failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: create file failed

ERROR: open file work/inject.app failed

ERROR: unknown file type

ERROR: open file work/hs_exefs.bin failed

ERROR: create file failed
From what i can see the linux script has a lot of issues... and i can't read german, so kinda hard for me to help. :( @d0k3 !
 

V0LT!GE

Well-Known Member
Newcomer
Joined
Feb 13, 2016
Messages
99
Trophies
0
Age
25
XP
171
Country
Gambia, The
I'll try to translate everthing what is german :D and i had already the feeling that the script has maaany



fuck off I'll install the english pack so that u can understand what the Terminal want xD
 
Last edited by V0LT!GE,

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
can someone help me ?
i cant create the FBI_inject_with_banner.app and FBI_inject_no_banner.app cuz the files which cant be found/create in the Terminal

OUTPUT ERROR IN TERMINAL:

murruk@murruk-E122X:~$ cd Schreibtisch/
murruk@murruk-E122X:~/Schreibtisch$ cd Universal-Inject-Generator-master/
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ ls
cdgo.bat _inject_no_banner.app input tools
go.sh _inject_with_banner.app readme.md work
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ sudo sh go.sh
[sudo] Passwort für murruk:
[3;J
go.sh: 9: [: Linux: unexpected operator
--- UNIVERSAL INJECT GENERATOR V0.3 ---
--- LINUX EDITION ---


[+] IDENTIFY FILES TO WORK WITH
cp: Fehlender Zieldatei‐Operand hinter »work/hs.app“
„cp --help“ liefert weitere Informationen.
mv: Aufruf von stat für »work/ciacnt.0000.*“ nicht möglich: Datei oder Verzeichnis nicht gefunden
[+] EXTRACT HS AND INJECT APP
[+] GENERATE NEW EXEFS
cp: Aufruf von stat für »work/inject_exefs/code.bin“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »work/inject_exefs/banner.bnr“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »work/inject_exefs/icon.icn“ nicht möglich: Datei oder Verzeichnis nicht gefunden
[+] GENERATE NEW ROMFS
[+] MERGE EXHEADER
[+] REBUILD HS INJECT APP
ls: Zugriff auf work/hs.app nicht möglich: Datei oder Verzeichnis nicht gefunden
./tools/ctrtool-linux: 1: ./tools/ctrtool-linux: Syntax error: Unterminated quoted string
[DBG:]argc=4
[DBG:]argv[0]=./tools/MergeExHeader-linux
[DBG:]argv[1]=work/inject_exhdr.bin
[DBG:]argv[2]=work/hs_exhdr.bin
[DBG:]argv[3]=work/merge_exhdr.bin
[INFO]Exheader Merge for APP injection.
[INFO]Loading files. New=work/inject_exhdr.bin, Old=work/hs_exhdr.bin....FAIL. File not found!
mv: »_inject_no_banner.app“ und »./_inject_no_banner.app“ sind die gleiche Datei
mv: »_inject_with_banner.app“ und »./_inject_with_banner.app“ sind die gleiche Datei
[+] HS APP ORIGINAL SIZE : bytes
[+] HS APP INJECT (N) SIZE: 0 bytes
go.sh: 71: [: -lt: unexpected operator
[+] HS APP INJECT (B) SIZE: 0 bytes
go.sh: 77: [: -lt: unexpected operator
murruk@murruk-E122X:~/Schreibtisch/Universal-Inject-Generator-master$ ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: open file work/hs.app failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/inject_exefs.bin failed

ERROR: open file work/hs.app failed

ERROR: unknown file type

ERROR: open file work/hs.app failed

ERROR: unknown file type

ERROR: open file work/hs_exefs.bin failed

ERROR: create file failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: open file work/hs_exefs.bin failed

ERROR: unknown file type

ERROR: open file work/inject.app failed

ERROR: open file work/hs_hdr.bin failed

ERROR: create file failed

ERROR: open file work/hs_hdr.bin failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: open file work/inject.app failed

ERROR: create file failed

ERROR: open file work/inject.app failed

ERROR: unknown file type

ERROR: open file work/hs_exefs.bin failed

ERROR: create file failed
From what i can see the linux script has a lot of issues... and i can't read german, so kinda hard for me to help. :( @d0k3 !
Oh dammit... I'm a Linux shell illiterate myself. @dark_samus3 maybe? Or @swarzesherz, could this have to do with your last pull request?
 

V0LT!GE

Well-Known Member
Newcomer
Joined
Feb 13, 2016
Messages
99
Trophies
0
Age
25
XP
171
Country
Gambia, The
I have only one laptop left (other 2 laptops taken away from mum xD xD)
And this one Laptop has only 1gb of ram, fucking slow, damn small ... i hate my situation and thats why i installed Linux on that laptop to get more power, which i didnt get xD
So thats ehy i need 32bit :D loong history of my situation...xD
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
I have only one laptop left (other 2 laptops taken away from mum xD xD)
And this one Laptop has only 1gb of ram, fucking slow, damn small ... i hate my situation and thats why i installed Linux on that laptop to get more power, which i didnt get xD
So thats ehy i need 32bit :D loong history of my situation...xD
Fair enough. :)
Sorry i can't be of help, don't really know the whole shell script stuff. I just wrote my own version of this all in C# instead. haha :) But that doesn't really help.
 

V0LT!GE

Well-Known Member
Newcomer
Joined
Feb 13, 2016
Messages
99
Trophies
0
Age
25
XP
171
Country
Gambia, The
So i installed now wine in Linux... is it possible to use ur C# Version trough wine?
If not i ll install win7 or i open up ur c# project in eclipse but meh bad idea :D
 
Last edited by V0LT!GE,

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country

V0LT!GE

Well-Known Member
Newcomer
Joined
Feb 13, 2016
Messages
99
Trophies
0
Age
25
XP
171
Country
Gambia, The
I'll try it now thank:)
Didnt worked...but ive now downloaded win7 so.. ill try it with ur universal injector generator! :D
 
Last edited by V0LT!GE,

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
@d0k3 hey my dude , need your help with d9 dumping !

i get some issues with dumping H&S off sysNAND , when i press A on dump H&S i get something like not found- ticket.db etc.

and that some files are missing? then a slotx0x5key etc.
what am i doing wrong ?

i am on A9LH , and have access to d9 by pressing L+R ( i have dumped hs from my emuNAND before and it worked ,dump/injected fbi into hs! )

now i am wanting it on my sysNAND but i get those issues.
so i actually tried to run HB from within my Aurei emuNAND and from HB launcher booting D9(does not work, it keeps reloading HB, maybe cause i hex edited my hblauncher otherapp bin) ><

can u help me further?
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@d0k3 hey my dude , need your help with d9 dumping !

i get some issues with dumping H&S off sysNAND , when i press A on dump H&S i get something like not found- ticket.db etc.

and that some files are missing? then a slotx0x5key etc.
what am i doing wrong ?

i am on A9LH , and have access to d9 by pressing L+R ( i have dumped hs from my emuNAND before and it worked ,dump/injected fbi into hs! )

now i am wanting it on my sysNAND but i get those issues.
so i actually tried to run HB from within my Aurei emuNAND and from HB launcher booting D9(does not work, it keeps reloading HB, maybe cause i hex edited my hblauncher otherapp bin) ><

can u help me further?
Get the slot0x05keyY.bin file from somewhere (sorry, can't help with that), copy it to your SD card root and try again.
 
  • Like
Reactions: leonmagnus99

V0LT!GE

Well-Known Member
Newcomer
Joined
Feb 13, 2016
Messages
99
Trophies
0
Age
25
XP
171
Country
Gambia, The
As far as i know i never had to use that Key.bin
But if it dont work u can try it with the file just download it an paste it on the root of ur sf card
Thats just my suggestion!
 

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
Get the slot0x05keyY.bin file from somewhere (sorry, can't help with that), copy it to your SD card root and try again.

will do now thanks mun ! but could u tell me if it is safe to keep the dbs folders that i pasted in all the other 3 new long lettered folders inside my Nintendo3DS folder XD ..

you know the dbs folder that has title import in it, i copy pasted them into the others next to exdata.

is that no biggie i hope?
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
will do now thanks mun ! but could u tell me if it is safe to keep the dbs folders that i pasted in all the other 3 new long lettered folders inside my Nintendo3DS folder XD ..

you know the dbs folder that has title import in it, i copy pasted them into the others next to exdata.

is that no biggie i hope?
No idea. You have to try!
 

V0LT!GE

Well-Known Member
Newcomer
Joined
Feb 13, 2016
Messages
99
Trophies
0
Age
25
XP
171
Country
Gambia, The
If u want to install FBI you'll need new dbs files IF you already reseted the dbs files!
Also make a backup of ur Nintendo 3ds folder :)
 

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
No idea. You have to try!
i placed all n3ds keys in root now, including "slot0x05keyY"

but now i get a different error .__.

exhdr/exefs/romfs ,,, verify exhdr etc. fail fail.
dump fail.

is this needing to download some stuff, should i keep wifi on ?

If u want to install FBI you'll need new dbs files IF you already reseted the dbs files!
Also make a backup of ur Nintendo 3ds folder :)

i did, after i copy pasted the dbs folder next to the exdata of the other long lettered ones.

it asked me to reset database in software while i was in sysnand


O--oookay guys i am really mindfucked now lol.. i guess this happens with the n3ds'es only though ,not sure.

so if you want to dump/inject the h&s for that you will need 2 key bins.
the Slot0x05KeyY and slot0x25KeyX , and the thing is, during the dump process you might get a dump fail at the end.

but the thing is, i actually got hs.app in the root of my mSD, so i just went on ahead and use universalinject app and ran the go bat file thingie and let it do its thing,

then placed the fbi with banner renamed to hs.app into the root of msd and i injected it and it succeeded ! woho!

final edit : but guess what? it gets me stuck on the 3ds logo when i try booting into it within sysNAND XD ..

i will try getting this to work until i have, i shall not sleep !

*gave up and falls asleep* zz..
 
Last edited by leonmagnus99,

Guardian Azure

New Member
Newbie
Joined
Mar 27, 2016
Messages
2
Trophies
0
Age
40
XP
83
Country
United States
I'm following Plailect's guide and I've gotten to the part where I am supposed to use this tool. While Plailect's guide says I can use go.sh on OSX I am running into an issue where it spits out that hs.app cannot be found.

/Users/Admin/Desktop/homebrew/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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: yea. lots of work I did :D +1