so the 3ds was previously hacked, (this is my brother's console, and he was trying to get a larger sd card, he bought a new sd card but after he ran into some issues he went into the 3ds settings and 'wiped' the console but this did not get rid of the custom firmware. He asked me to hack it and after seeing that there was still CFW I tried skipping a few steps, and installing other apps, (FBI, Homebrew launcher, etc) I got multiple errors, finding this strange I tried reinstalling luma3ds and other such CFW firmware incase it was outdated or smthn, but after some messing around I realized that whenever a boot.firm file was on the sd card, it would just flash on and then off without trying to boot up. I don't really know what to do, if anyone has a solution to get the CFW working that would be great, It does not matter if it isn't possible to install or smthn like that as long as the CFW is working my brother will be happy since all he really wants to do is play games, and use homebrew applications and such, if needed I could provide more information but for now even just a hint would be useful because I have been searching the internet for answers or someone who has also had this problem and have not found anything so it would be greatly appreciated for someone more knowledgeful to comment on the subject, thanks!