FORUMS

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

help with bypasslkm for surges nc5>mk2

28 posts
Thanks Meter: 2
 
By JTSDeveloper, Member on 15th May 2014, 04:09 AM
Post Reply Subscribe to Thread Email Thread
can someone explain how to use bypasslkm in further detail. i looked through multiple threads but im stilll not getting the handle on it,
 
 
15th May 2014, 02:30 PM |#2  
sfgrimes's Avatar
Junior Member
Flag 127.0.0.1
Thanks Meter: 15
 
More
Open your terminal emulator on your phone (download one from Google play if you don't have one) open the terminal and type the following commands (Pressing enter to execute each one)

su (sands for switch user, used alone will switch you to the "root" user. Equilivent to Admin in windows)

cd /data/local/temp (cd - change directory, followed by the complete folder path you want to navigate to)

chmod 755 bypasslkm (not going to get too in depth with this one because I could go on for a while with it but "chmod 755" changes the permissions to read, write, execute for the root user and read/execute for everyone else)

. /bypasslkm (. / tells the system to look in the current directory and, in this case, execute bypasslkm)

Hope this helps clear some things up for you!

Sent from my SCH-I545 using XDA Premium HD app
The Following 3 Users Say Thank You to sfgrimes For This Useful Post: [ View ]
15th May 2014, 08:38 PM |#3  
OP Member
Thanks Meter: 2
 
More
Thumbs up
[QUOTE=sfgrimes;52674542]Open your terminal emulator on your phone (download one from Google play if you don't have one) open the terminal and type the following commands (Pressing enter to execute each one)

su (sands for switch user, used alone will switch you to the "root" user. Equilivent to Admin in windows)

cd /data/local/temp (cd - change directory, followed by the complete folder path you want to navigate to)

chmod 755 bypasslkm (not going to get too in depth with this one because I could go on for a while with it but "chmod 755" changes the permissions to read, write, execute for the root user and read/execute for everyone else)

. /bypasslkm (. / tells the system to look in the current directory and, in this case, execute bypasslkm)

Hope this helps clear some things up for you!

Sent from my SCH-I545 using XDA Premium HD


I keep getting a message saying that there is no such directory after trying to execute "chmod 755 bypasslkm"
Last edited by JTSDeveloper; 15th May 2014 at 09:01 PM. Reason: typooooo
15th May 2014, 09:27 PM |#4  
Senior Member
Thanks Meter: 61
 
More
Deleted

Sent from my SCH-I545 using Tapatalk
Last edited by PolishPoet; 15th May 2014 at 09:31 PM.
16th May 2014, 04:27 AM |#5  
sfgrimes's Avatar
Junior Member
Flag 127.0.0.1
Thanks Meter: 15
 
More
Quote:
Originally Posted by JTSDeveloper

I keep getting a message saying that there is no such directory after trying to execute "chmod 755 bypasslkm"

I had the same issue. Here is the binary from Surges dropbox https://www.dropbox.com/s/9rdz9ff6x5foech/bypasslkm

Make sure you copy it to the right directory and follow all the commands.

Sent from my SCH-I545 using XDA Premium HD app
The Following User Says Thank You to sfgrimes For This Useful Post: [ View ]
16th May 2014, 05:48 AM |#6  
Surge1223's Avatar
Recognized Contributor
Flag Iowa
Thanks Meter: 5,696
 
Donate to Me
More
To add to the above post, after downloading that just execute this in terminal

Code:
su
mount -o remount,rw /system
find . -name "bypasslkm" -exec cp {} /data/local/tmp \;
find /data/local/tmp -name "bypasslkm" -type f -exec chmod 755 {} \;
./data/local/tmp/bypasslkm
insmod /system/lib/modules/dhd.ko
exit
The Following 2 Users Say Thank You to Surge1223 For This Useful Post: [ View ]
17th May 2014, 09:42 PM |#7  
OP Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by Surge1223

To add to the above post, after downloading that just execute this in terminal

Code:
su
mount -o remount,rw /system
find . -name "bypasslkm" -exec cp {} /data/local/tmp \;
find /data/local/tmp -name "bypasslkm" -type f -exec chmod 755 {} \;
./data/local/tmp/bypasslkm
insmod /system/lib/modules/dhd.ko
exit

I got the following error trying to execute after downloading the bypasslkm file and doing what you said
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-17-16-40-30.png
Views:	130
Size:	116.3 KB
ID:	2749375  
17th May 2014, 09:51 PM |#8  
Surge1223's Avatar
Recognized Contributor
Flag Iowa
Thanks Meter: 5,696
 
Donate to Me
More
Quote:
Originally Posted by JTSDeveloper

I got the following error trying to execute after downloading the bypasslkm file and doing what you said

Thats not an error. If you had bypasslkm anywhere on your phone, it should now be in /data/local/tmp with the right permissions and should have executed. Make sure you downloaded the bypasslkm binary linked above

Edit: Also just copy and paste the whole script to make things easier

Sent from my SCH-I545 using XDA Premium 4 mobile app
17th May 2014, 10:01 PM |#9  
OP Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by Surge1223

Thats not an error. If you had bypasslkm anywhere on your phone, it should now be in /data/local/tmp with the right permissions and should have executed. Make sure you downloaded the bypasslkm binary linked above

Edit: Also just copy and paste the whole script to make things easier

Sent from my SCH-I545 using XDA Premium 4 mobile app

It's still not working. Any ideas? Should I move it directly into /data/local/tmp
17th May 2014, 11:56 PM |#10  
OP Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by Surge1223

Thats not an error. If you had bypasslkm anywhere on your phone, it should now be in /data/local/tmp with the right permissions and should have executed. Make sure you downloaded the bypasslkm binary linked above

Edit: Also just copy and paste the whole script to make things easier

Sent from my SCH-I545 using XDA Premium 4 mobile app

I downloaded the binary from above and pasted it directly in data/local/tmp then tried it and it still didn't work :/ what should the permissions on the file be? I'm a noob at this stuff
18th May 2014, 01:11 AM |#11  
k1mu's Avatar
Recognized Contributor
Flag Virginia
Thanks Meter: 1,598
 
Donate to Me
More
Quote:
Originally Posted by JTSDeveloper

I downloaded the binary from above and pasted it directly in data/local/tmp then tried it and it still didn't work :/ what should the permissions on the file be? I'm a noob at this stuff

The permissions should be 755, as Surge said.

If you KNOW it's in /data/local/tmp, then do this in a terminal emulator window:
Code:
su
mount -o remount,rw /system
chmod 755 /data/local/tmp/bypasslkm
/data/local/tmp/bypasslkm
insmod /system/lib/modules/dhd.ko
mount -o remount,ro /system
exit
If this doesn't work, DO NOT post just "it didn't work". Say what you did, why you think it failed. Capture the output and reply here with it.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes