Code Monkey home page Code Monkey logo

ios-kern-utils's People

Contributors

imokhles avatar siguza avatar sulphur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-kern-utils's Issues

Pangu 7.1.x Compatibility

Could you update the readme to reflect compatibility with Pangu 7.1.x JB?

tfp0 is enabled in the latest version of their untether package (v0.3) and in their desktop app since v1.2.0

(Also, thanks for this fork, which allowed me to update my 5S from 7.1.2 to 10.2 via setting my boot-nonce with the included nvpatch tool)

compile nvpatch

Hello, i need help. i can't compile this source, i have some error in my terminal, can anyone compile nvpatch please, thank you very much

Question about kernel task

From what iv'e heard, finding the port can be a major security issue when applied to your device so is their a benefit to finding the port?

Kernel Panic

I ran kdump and the kernel paniced but the wierd thing was i still have my themed status bar from anenome and i cant get rid of it Ive tried hardreseting, dfumode, recov mode. Is this my phone or this tool?

iPad Air 2 iOS 9.0.2 - Failed to get kernel task (invalid port)

Dear Siguza, thank you for this project!
For me now its time to move from iOS 9.0.2 to 12.1 on my iPad Air 2 after its finally jailbroken.

Unfortunately I wasn't able to set the nonce.
At first cl0ver reported a successfull installation.
I tried already two versions of your ios-kern-utils (1.4.1 and one from here #2) and the nvpatch and searched the issues here on Github.
You can see the output below.

iPad-Air:~ root# ./kmap && ./nvpatch -v -d com.apple.System.boot-nonce
[!] Failed to get kernel task ((os/kern) failure, kernel_task = 0)
iPad-Air:~ root# ./nvpatch -v -d com.apple.System.boot-nonce
[DEBUG] Getting kernel task... [src/lib/libkern.c:68]
[DEBUG] Trying task_for_pid(0)... [src/lib/libkern.c:69]
[DEBUG] Failure. Port: 0x00000000, return value: 0x00000005 ((os/kern) failure) [src/lib/libkern.c:72]
[DEBUG] Trying host_get_special_port(4)... [src/lib/libkern.c:76]
[DEBUG] Returned success, but port is invalid (0x00000000) [src/lib/libkern.c:79]
[DEBUG] Returning failure. [src/lib/libkern.c:83]
[!] Failed to get kernel task ((os/kern) failure, kernel_task = 0)

What is wrong with my special port?
I would be glad, if you can help me with this issue.
Many greetings from Germany!

Mob Barley

Patching read-only kernel pages

This is most likely not an issue with ios-kern-tools, but I can't find any info on this. Please give some advise!

The latest tools work perfectly on my arm64 iPad Air 9.0.2, including nvpatch.
But when I try using kpatch to modify some bits, the device crashes. The memory is available and can be read with kmem, although it happens to fall into the "big null kernel region". I noticed that nvpatch modifies memory in that region without crashing, so it's not a region problem. My guess is that either mem pages are flagged read-only (but if that's true, why not use vm_protect before calling vm_write in kpatch?), or it's the KPP (is it not disabled by Pangu?), or it's an issue with the A7 TrustZone / Security Extensions / whatever (in that case I guess we just give up?).

Thanks!

Pangu9 on 9.0.x

is there any possible solution for 9.0.2? unfortunately, i have two jb phones, they are all 9.0.2

Killed:9

Installed latest commit and get killed: 9 error when running khead and kdump.
This is for the ios 10 branch.
iPhone 6s N71AP 10.2

[!] Failed to get kernel task

I just used cl0ver to patch my device and got the message [*] Successfully installed patch, but wanted to make sure the process was successful with this tool as well. I tried with ./kmap and I'm getting this error:

6S:/private/var/root/sarasa root# ./kmap
[!] Failed to get kernel task
6S:/private/var/root/sarasa root#

ipad air 9.0.2

recently trying to run nvpatch (experimental and master) im getting crashes.
got it work a few days ago. but not anymore. of course running it after ./cl0ver

iOS 10 support ?

Hi Siguza !
Since Luca Todesco added tfp0 support to Yalu102, do you plan to update your stuff to iOS 10 ?
I just tried to run kdump and it rebooted my device.

Thanks

Failed to get kernel task on iOS 11.1.2

I built and run kdump for iOS 11.1.2, signed it with jtool.
I expected it to not work and this isssue is mostly to ask you if you plan to update to iOS 11 ?

$ ./kdump
[!] Failed to get kernel task ((os/kern) failure, kernel_task = 0)

M1 (arm64) for macos

Hi Siguza,
Can you please add support for arm64 arch for macosx? I only trying to use kmem. It seems that the only usage of TARGET_MACOS that is relevant to kmem is in:

  1. arch.h (IMAGE_OFFSET, MACH_TYPE)

If this requires too much work, can you give the highlights of the required modifications and I'll try to do the modifications myself.

When trying to modify it myself, I get an error from vm_read_overwrite
[DEBUG] vm_read error: (os/kern) invalid argument [src/lib/libkern.c:944]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.