Yalu102: rootvnode_offset

Created on 26 Jan 2017  路  46Comments  路  Source: kpwn/yalu102

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

Most helpful comment

iPhone 6s // iOS 10.2 // N71mAP

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

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

All 46 comments

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

Unrelated questions will be removed. Stop it.

@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.

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

@kpwn Ok, thank you!

@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 ???

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

@CrypticGit clone the latest commit

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

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

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

Where should we send them?

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.

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

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

Wait is kpwn Luca or? I'm confused

@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

iPhone 6s // iOS 10.2 // N71mAP

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

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

@williamfs delete the 7 from the rootvnode_offset

@EGYbkgo9449 Oops, thanks!

The correct rootvnode_offset is rootvnode_offset = 0x5ae0b8;

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

I also have it 馃拑

Yep, working here too

Welcome to the club 馃槑

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

I used the last commited version with new offsets

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

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

@BryanSuero No.

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

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

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

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

Worked here too (6S+) :P

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

BTW, how can I convert rootvnode?

You have to subtract the kernel base to get the offset

@BryanSuero thank you!

@berkeelevent check Ian Beer's Google Code

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

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

@kpwn

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

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

@CrypticGit I can try

@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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jackiossy picture jackiossy  路  5Comments

chashmeetsingh picture chashmeetsingh  路  5Comments

Haroon-Sharif picture Haroon-Sharif  路  3Comments

MEXX1811 picture MEXX1811  路  6Comments

d0uub picture d0uub  路  5Comments