D
Deleted User
Guest
OP
Perhaps this?I don't see the purpose of this, though maybe i'm missing something??
She could just drop it.I'm using a N3DS. I'm just trying to make it as safe as possible in case my sister comes around to destroy it
You can't do that, because FIRM doesn't exist yet when using A9LH.Could someone make a A9LH usable payload that turns off the 3ds when booted into?
Maybe make this a A9LH usable .bin? https://github.com/thedax/3DS_Quick_Shutdown/
It uses this main code:
Code:#include <3ds.h> #include <stdio.h> // http://3dbrew.org/wiki/NSS:ShutdownAsync void NSS_ShutdownAsync(void) { Handle nssHandle = 0; Result result = srvGetServiceHandle(&nssHandle, "ns:s"); if (result != 0) return; u32 *commandBuffer = getThreadCommandBuffer(); commandBuffer[0] = 0x000E0000; svcSendSyncRequest(nssHandle); svcCloseHandle(nssHandle); } int main(int argc, char **argv) { NSS_ShutdownAsync(); // Hack: the 3ds crashes ("An error has occcurred.") for some reason // without one iteration of the APT main loop. aptMainLoop(); return 0; }
i2cWriteRegister(DEVICE_MCU, 0x20, 1);
SaltFW does this by default nowActually, integrating Quick Shutdown into an A9LH boot manager as a way to prevent booting into 3DS Recovery Mode would be a useful feature for childproofing. I would like to see it added, as I plan on modding my cousins' 3DSes the next time I go over there.
i2cWriteRegister(I2C_DEV_MCU, 0x20, 1);
Done.Thank you!
I applaud you kind Wolfvak! May I link this in OP? And THANK YOU!
--------------------- MERGED ---------------------------
hmm... wasn't able to get it working. I loaded into it but it just froze
--------------------- MERGED ---------------------------
i2cWriteRegister(DEVICE_MCU, MCU_POWER, 1); // Shutdown
I noticed in main.c you left out
0x20 and put in MCU_POWER. Intentional?
typedef enum {
MCU_VOLUME = 0x09,
MCU_BATTERY = 0x0B,
MCU_POWER = 0x20
} I2CRegister;
A-ha, I see. Could you try to see if you can use his payload please?
Worked fine for me. Try using this start.s and recompile.Oh 0.0 Well that's a problem...
There you go, hopefully it works. By the way, what's your a9lh version? As in, initial no screen-init, dark-samus with screen-init, delebile's latest, etc.Wasn't able to compile, can you please? Sorry. Does it depend on the type of 3ds you have?