Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi #11

Open
frankl1m opened this issue Sep 24, 2020 · 2 comments
Open

Hi #11

frankl1m opened this issue Sep 24, 2020 · 2 comments

Comments

@frankl1m
Copy link

Bro can you share a code for wipe the device via checkra1n from terminal, i am trying to recreate but without lucky, can you make me a hand

@frankl1m
Copy link
Author

this is my code

@autoreleasepool {
int rv = 0;
extern int SBDataReset(mach_port_t, int);
extern mach_port_t SBSSpringBoardServerPort(void);
mach_port_t SpringBoardServerPort = SBSSpringBoardServerPort();
assert(MACH_PORT_VALID(SpringBoardServerPort));
rv = SBDataReset(SpringBoardServerPort, 1);
//NSLog(@"rv: " "%d" "\n", rv);
assert(rv == 0);
rv = reboot(0x400);
//rv = SBDataReset(SpringBoardServerPort, 5);
}
it just reboot but not wipe on ios 12

@dffhjkl
Copy link

dffhjkl commented Feb 21, 2021

D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants