I already have the ticket.db, how can i dump the firmkey.bin
im using same firmware.bin as rxtools, decrpt title key usin rxtools and rename it to firmkey.bin (put into cakes folder).
You have to decrypt the ticket.db with either Decrypt9, rxTools, or 3DS_Multi_Decryptor.
I won't serve a tutorial for that. Use any printKeys.py to, well, print the keys.
Once you have the key, paste it in a hex editor, just like the slot0x25keyX.
The title ID is: 0004013800000002