tmzt/g2root-kmod — pull request #2 by nextgensh (2012-07-12 04:08:54+00:00)
Title: Modifications to psneuter to avoid devices which restart immediately after the adb daemon is killed and drop the user into the normal shell, eg: LGP970

On devices after restart the user is dropped back into the normal shell.
This code modifies the original psneuter code written scotty2.
Immediately after the adb deamon is killed the code forks, and creates another
adb deamon process. Hence when the user reconnects to via adb again there is
already a deamon running and the phone does not restart. The user is dropped
into the root shell.
Tested on -
LGP970 : Froyo 2.2 with LG version v10d
modified: README
modified: psneuter
modified: psneuter.c