Originally Posted by deank
Good work,
@condorstrike
!
FWIW, a simple call which you or other devs can use to get to the "recovery/Firmware menu" safely for all firmware versions would be something like:
[in psl1ght] Lv2Syscall3(838, (u64)"/dev_flash", 0, 1); exit(0);
or as in mM 2+
Code:
static uint64_t syscall_838(const char *device)
{
system_call_3(838, (u64)device, 0, 1);
return_to_user_prog(uint64_t);
}
...
syscall_838("/dev_flash"); exit(0); //exit from main

D
|
Awesome Dean, will this work for Nand (damn the phats, lol) too