Post Reply

[MOD][KERNEL MODULE] wp_mod: disable system write protection

OP flar2

Yesterday, 01:23 AM   |  #171  
Junior Member
Thanks Meter: 0
 
19 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by migascalp

wp_mod_3.28.401.6.zip
Check it. I'm s-off.
the module is in the list returned by 'lsmod'

i'm on 3.29.161.5 VODAP405, this is what i did:
Code:
G:\HTC One M8\One_M8_AIO_Kit_v2.0\Data>adb shell
shell@htc_m8:/ $ su
su
root@htc_m8:/ # insmod /sdcard/wp_mod.ko
insmod /sdcard/wp_mod.ko
root@htc_m8:/ # lsmod
lsmod
wp_mod 12486 0 [permanent], Live 0x00000000 (O)
wlan 3602972 0 - Live 0x00000000 (O)
adsprpc 21680 3 - Live 0x00000000
ecryptfs 120767 0 - Live 0x00000000 (O)
dm_crypt 22878 0 - Live 0x00000000 (O)
moc_crypto 402288 2 ecryptfs,dm_crypt, Live 0x00000000 (PO)
moc_platform_mod 12871 1 moc_crypto, Live 0x00000000 (O)
texfat 186834 0 - Live 0x00000000 (PO)
root@htc_m8:/ #
G:\HTC One M8\One_M8_AIO_Kit_v2.0\Data>
is it ok? how can i verify it?

---------- Post added at 02:23 AM ---------- Previous post was at 01:39 AM ----------

Quote:
Originally Posted by migascalp

wp_mod_3.28.401.6.zip
Check it. I'm s-off.
the module is in the list returned by 'lsmod'

ok it works! but is there a way to automatically load it? every boot it disappear...
Yesterday, 01:40 AM   |  #172  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Flag Bensalem, PA
Thanks Meter: 9,985
 
10
11,260 posts
Join Date:Joined: Aug 2008
Donate to Me
More
Quote:
Originally Posted by raksati

i'm on 3.29.161.5 VODAP405, this is what i did:

Code:
G:\HTC One M8\One_M8_AIO_Kit_v2.0\Data>adb shell
shell@htc_m8:/ $ su
su
root@htc_m8:/ # insmod /sdcard/wp_mod.ko
insmod /sdcard/wp_mod.ko
root@htc_m8:/ # lsmod
lsmod
wp_mod 12486 0 [permanent], Live 0x00000000 (O)
wlan 3602972 0 - Live 0x00000000 (O)
adsprpc 21680 3 - Live 0x00000000
ecryptfs 120767 0 - Live 0x00000000 (O)
dm_crypt 22878 0 - Live 0x00000000 (O)
moc_crypto 402288 2 ecryptfs,dm_crypt, Live 0x00000000 (PO)
moc_platform_mod 12871 1 moc_crypto, Live 0x00000000 (O)
texfat 186834 0 - Live 0x00000000 (PO)
root@htc_m8:/ #
G:\HTC One M8\One_M8_AIO_Kit_v2.0\Data>
is it ok? how can i verify it?

---------- Post added at 02:23 AM ---------- Previous post was at 01:39 AM ----------



ok it works! but is there a way to automatically load it? every boot it disappear...

Add the insmod line to the bottom of install-recovery.sh in /system/etc.
Yesterday, 01:50 AM   |  #173  
Junior Member
Thanks Meter: 0
 
19 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by Captain_Throwback

Add the insmod line to the bottom of install-recovery.sh in /system/etc.

I edited it like this:

Code:
...  ...
/system/etc/install-recovery-2.sh
insmod /sdcard/wp_mod.ko
but with lsmod module doesn't appear...
Last edited by raksati; Yesterday at 01:57 AM.
Yesterday, 02:24 AM   |  #174  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Flag Bensalem, PA
Thanks Meter: 9,985
 
10
11,260 posts
Join Date:Joined: Aug 2008
Donate to Me
More
Quote:
Originally Posted by raksati

I edited it like this:

Code:
...  ...
/system/etc/install-recovery-2.sh
insmod /sdcard/wp_mod.ko
but with lsmod module doesn't appear...

Put the module in /system/lib/modules with the other ones and insmod it from there.
The Following User Says Thank You to Captain_Throwback For This Useful Post: [ View ]
Yesterday, 02:52 AM   |  #175  
Junior Member
Thanks Meter: 0
 
19 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by Captain_Throwback

Put the module in /system/lib/modules with the other ones and insmod it from there.

perfect!!
Today, 01:43 AM   |  #176  
Junior Member
Thanks Meter: 0
 
19 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by migascalp

wp_mod_3.28.401.6.zip
Check it. I'm s-off.
the module is in the list returned by 'lsmod'

I think this can be added as working wp_mod.ko for 4.4.4 Sense for now in the first page...
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in One (M8) Original Android Development by ThreadRank