FORUMS

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … 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: 59
 
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,594
 
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:	128
Size:	116.3 KB
ID:	2749375  
17th May 2014, 09:51 PM |#8  
Surge1223's Avatar
Recognized Contributor
Flag Iowa
Thanks Meter: 5,594
 
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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes