My attempts to porting S2W patch (showp1984 variant). Phone reboot after 5 secs of sleeping.

Error:
http://pastebin.com/SYCqAquN
http://pastebin.com/a1kSvyAu
http://pastebin.com/gh0UCc4X