..

dimanche 29 mars 2015

[MOD][DEV] Enable Unsigned Kernel Modules on NC5/NK1 & NC1 topic


This is only to be used if you know what you are doing. This enables Unsigned Kernel Modules on the SCH-i545 (NC5/NK1), and the i337 (NC1).

Flash downloaded zip in Recovery.

https://www.androidfilehost.com/?fid=95916177934548235

Package of Modules built by @Surge1223:

https://www.dropbox.com/s/mpyeju0082...dules.zip?dl=0

NOTE: Many of these are useful, but don't just load them for fun, they can be dangerous. Also, some do not function as expected, i.e. fastchg.ko has no effect, this is known, but I use that module in specific to test if modload is functioning.

Usage:
-- ALL of these commands must be run as root ("SU' in terminal/ADB Shell)
-- Run "Modload" to enable unsigned modules
-- Run "insmod /path/to/module.ko" to load a specific module
-- Run "rmmod modulename.ko"
-- Run "lsmod" to view a list of currently loaded kernel modules
-- Run "Modload -r" to re-enable kernel module signature checks


Credits:
This is completely based off of @jeboo's original BypassLKM exploit on MK2.
The whole script is kanged from @Surge1223 's update of the BypassKLM exploit to NC5.
@tulth found the memory address to overwrite to re-enable this exploit on NK1.
I just packaged it into Surge's ModLoad script.

Screenshot of usage:

http://imgur.com/Yk9uq6e

xda-developers