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

rootvnode_offset #15

Closed
ca13ra1 opened this issue Jan 26, 2017 · 46 comments
Closed

rootvnode_offset #15

ca13ra1 opened this issue Jan 26, 2017 · 46 comments

Comments

@ca13ra1
Copy link

ca13ra1 commented Jan 26, 2017

I was able to get correct offset for 6s on 10.2. Here's the output. Am I suppose to change the rootvnode_offset too?

screen shot 2017-01-25 at 4 28 46 pm

@kpwn
Copy link
Owner

kpwn commented Jan 26, 2017

yep! that looks successful! if you put a valid rootvnode it's going to remount / as readwrite.

@kpwn
Copy link
Owner

kpwn commented Jan 26, 2017

Unrelated questions will be removed. Stop it.

@kpwn kpwn closed this as completed Jan 26, 2017
@ca13ra1
Copy link
Author

ca13ra1 commented Jan 26, 2017

@kpwn I just kept the rootvnode offset the same, didn't change rootvnode just allproc_offset . Would that be an issue? Also didn't seem to do anything for my device after it rebooted.

@kpwn
Copy link
Owner

kpwn commented Jan 26, 2017

Yes, you need rootvnode. No extraction of bootstrap is being done at the moment, however.

@ca13ra1
Copy link
Author

ca13ra1 commented Jan 26, 2017

@kpwn Ok, thank you!

@EGYbkgo9449
Copy link

@kpwn sorry for commenting a lot but I've got the rootvnode offset, it said on Xcode already jailbroken but no Cydia, so have you implemented the Cydia yet or no ???

@ghost
Copy link

ghost commented Jan 26, 2017

I meant where is rootvnode offset located so i can put in the correct one @kpwn

@willsmillie
Copy link

@CrypticGit clone the latest commit

@ghost
Copy link

ghost commented Jan 26, 2017

@williamfs i did its giving me apple mach o linker errors

@willsmillie
Copy link

@kpwn Would you like us to send you our offsets after we find them?

@kpwn
Copy link
Owner

kpwn commented Jan 26, 2017

Yes, it's part of the reason why this is opensource.

@willsmillie
Copy link

Where should we send them?

@kpwn
Copy link
Owner

kpwn commented Jan 26, 2017

rootvnode is very easy to find: just run the 'nm' command on a decompressed kernel, one of the symbols is rootvnode. and here is fine.

@EGYbkgo9449
Copy link

@kpwn I already found it, tell me where should I submit my offsets :)

@ghost
Copy link

ghost commented Jan 26, 2017

@kpwn Im confused my device says one kernel but the ipsw says another

@dallasco
Copy link

Wait is kpwn Luca or? I'm confused

@oncheonche
Copy link

@kpwn is it interesting to know them for tvOS ?
If so, I can find them, but I won't be able to confirm they work unless I'm able to build the app

@willsmillie
Copy link

willsmillie commented Jan 26, 2017

iPhone 6s // iOS 10.2 // N71mAP

allproc_offset = 0x5a8438;
procoff = 0x360;
rootvnode_offset = 0x5b20b8;

screen shot 2017-01-25 at 9 30 57 pm

@EGYbkgo9449
Copy link

@williamfs delete the 7 from the rootvnode_offset

@willsmillie
Copy link

@EGYbkgo9449 Oops, thanks!

@BryanSuero
Copy link

The correct rootvnode_offset is rootvnode_offset = 0x5ae0b8;

@willsmillie
Copy link

@kpwn reporting back. Got it working on 6s 10.2 N71mAP. Cydia is on the device now! :D

@BryanSuero
Copy link

I also have it 💃

@oncheonche
Copy link

Yep, working here too

@willsmillie
Copy link

Welcome to the club 😎

@ca13ra1
Copy link
Author

ca13ra1 commented Jan 26, 2017

@williamfs What offsets did you use? I found
screen shot 2017-01-25 at 6 36 00 pm

@oncheonche
Copy link

I used the last commited version with new offsets

@willsmillie
Copy link

@ca13ra1 I got the same screen shot 2017-01-25 at 10 06 59 pm

@BryanSuero
Copy link

BryanSuero commented Jan 26, 2017

Guys remember to NOT install the Substrate Fix and run the command to fix facetime and those things.

@kpwn
Copy link
Owner

kpwn commented Jan 26, 2017

@BryanSuero No.

@ghost
Copy link

ghost commented Jan 26, 2017

@kpwn do i edit the offsets above the if statements or leave them?

@BryanSuero
Copy link

BryanSuero commented Jan 26, 2017

@kpwn What would happens if you run the commands to fix them? Because I already did it and it didn't fix it

@oncheonche
Copy link

Moreover, remember it's not aimed to be used on any "everyday" iPhone

@berkeelevent
Copy link

I do found fffffff0075c20b8 rootvnode for iPhone 6, in case anyone if need

@EGYbkgo9449
Copy link

Worked here too (6S+) :P

@ca13ra1
Copy link
Author

ca13ra1 commented Jan 26, 2017

@williamfs didn't update to the latest commit lol :) Working now fine

@berkeelevent
Copy link

BTW, how can I convert rootvnode?

@BryanSuero
Copy link

You have to subtract the kernel base to get the offset

@berkeelevent
Copy link

@BryanSuero thank you!

@BryanSuero
Copy link

@ca13ra1
Copy link
Author

ca13ra1 commented Jan 26, 2017

5s n51 rootvnode fffffff0075b60b8 S _rootvnode & 5s allproc_offset = 0x5ac418

@ghost
Copy link

ghost commented Jan 26, 2017

Iphone 6s samsung 10.1.1 offsets:
allproc_offset = 0x5a8148;
procoff = 0x360;
rootvnode_offset = 0x5ae0b8;

@kpwn

@berkeelevent
Copy link

berkeelevent commented Jan 26, 2017

does anybody have iphone 6? I did found all offsets but still cant make it work

allproc_offset = 0x5b8468;
procoff = 0x360;
rootvnode_offset = 0x5be0b8;

I got;

adsiz

then it just reboots

@ghost
Copy link

ghost commented Jan 26, 2017

@berkeelevent Someone asked me to find 6+ offsets i dont know if they are the same.

@berkeelevent
Copy link

@CrypticGit I can try

@x86shell
Copy link

@berkeelevent I think the code itself doesn't support the iPhone 6/+ yet. I could be wrong however but i added the offsets myself for 6+ and i get a kernel panic still on "got a cpacr", just wait for Q to update this repo!

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

9 participants