[Q&A] [MOD][KERNEL MODULE] wp_mod: disable system write protection - Desire 816 Q&A, Help & Troubleshooting

Q&A for [MOD][KERNEL MODULE] wp_mod: disable system write protection
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:

Thanks
Thanks For This MOD

I cannot use this trick to my phone.
The phone will restart when copying complete.
Besides, I tried to delete some application system so the phone restart too.
Kindly explain to me with thanks.

danahue said:
I cannot use this trick to my phone.
The phone will restart when copying complete.
Besides, I tried to delete some application system so the phone restart too.
Kindly explain to me with thanks.
Click to expand...
Click to collapse
Dude... Move with TWRP file manager

i can run app when move data on sdcard2 witn this mod?

The file has been copies to exactly folder, perfect permission also.
However on terminal, it can not executive for this.
Need your favor..

danahue said:
The file has been copies to exactly folder, perfect permission also.
However on terminal, it can not executive for this.
Need your favor..
Click to expand...
Click to collapse
Same to me
Sent from my HTC D816w using XDA Premium 4 mobile app

Can't mount wp_mod.ko HTC 816
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?

App not able to write
i followed the instruction here http://forum.xda-developers.com/showpost.php?p=53823856&postcount=42
and successfully got the result and can write on sd card or delete using es file explorer (or other file manager)
but still most of the other app cant write to sd card like titanium backup or nandroid backup
i also tired the /system/etc/permission/platform.xml and tried edditing it but it causes my phone to go in boot loop
plz tell me if there is any other way to solve this and get other to to work with external sd card
---------- Post added at 04:14 PM ---------- Previous post was at 03:45 PM ----------
Damn_PL said:
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?
Click to expand...
Click to collapse
just follow the instruction here http://forum.xda-developers.com/showpost.php?p=53823856&postcount=42

Damn_PL said:
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?
Click to expand...
Click to collapse
most probably, this will solve your problem. sorry if it's not the right place to mention it

try this super user its works it has wp-mod
http://forum.xda-developers.com/desire-816/development/mod-enable-init-d-stock-kernel-vm-t2987126

Firewater does not work.
Delete

use recovery
Damn_PL said:
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?
Click to expand...
Click to collapse
Copy file using recovery in /system/lib/modules
fix permission chmod644

Unfortunately, it doesn't solve the problem. Now I haven't this phone, I've bought G4 last month. Thanks for all replies and no hating me for my little knowledge in this thread.
BTW 816 is very nice phone, it was two years with me.

Related

HELP! Can't find apps on sdcard

I am using DeFrost 9.0b with spare parts that lets you install apps on the sdcard. I am trying to backup all my apps that I downloaded and installed but I can't find them on the sdcard with root explorer.
Does anyone know where on the sdcard the apps are downloaded?
look in the android secure folder on the root of the SD card
Nekromantik said:
look in the android secure folder on the root of the SD card
Click to expand...
Click to collapse
I did and it is empty. ???
Sandule said:
I did and it is empty. ???
Click to expand...
Click to collapse
that is where they are meant to be.
So I dunno where else it could have placed them.
Nekromantik said:
that is where they are meant to be.
So I dunno where else it could have placed them.
Click to expand...
Click to collapse
Could it be a permission issue. I can't seem to change the permissions for the .android_secure folder. Is there a specific way that I need to change permissions in root explorer?
Did you direct the apps to the correct location with pm SetInstallLocation 2?
As suggested, the apps should be inside encrypted files within the /sdcard/.android_secure folder, whose contents are visible in recovery mode only.
So how can I get to the files then?
Should also work by using a Terminal Emulator.
Go to the Android Market, download an app called "ConnectBot".
Sign in to it, set is to local.
try the following (enter these commands):
su
ls -l /sdcard/.android_secure
I think you could also install Apps2SD using the Terminal Emulator with these commands:
su
pm setInstallLocation 2
Let me know if that helps at all.
Regards,
Mas.
I have already performed the setinstallLocation 2
When I do the ls command nothing comes up.
Not sure then mate
May be worth trying a full wipe again, re-flashing the rom and installing A2SD?
-------------------------------------
Sent via the XDA Tapatalk App

Swype

I searched around and couldn't find a definative answer. How can I take my backed up copy of swype from my g2 nandroid backup (or the official rom) and install it after installing cyanogenmod"
Sent from my T-Mobile G2 using XDA App
If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck.
*thanks nvigrass, wasnt sure where it was
it is in /system/lib
here's a thread with some instructions: http://forum.xda-developers.com/showthread.php?t=837599
I ended up figuring it out with the first post, after figuring out how to open the /system/ nandroid img.
Sent from my T-Mobile G2 using XDA App
How Do you take swype.apk out of system/apps?
waffleman911 said:
If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck.
*thanks nvigrass, wasnt sure where it was
Click to expand...
Click to collapse
How do you do that? And what program do you have to use since System is an .img file thanks.
Brazildiogo732 said:
How do you do that? And what program do you have to use since System is an .img file thanks.
Click to expand...
Click to collapse
have u heard of google?
http://lmgtfy.com/?q=extract+.img+in+windows
Thanks
waffleman911 said:
If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck.
*thanks nvigrass, wasnt sure where it was
Click to expand...
Click to collapse
sundar2012 said:
have u heard of google?
http://lmgtfy.com/?q=extract+.img+in+windows
Click to expand...
Click to collapse
hey thanks man . i got MagicISO but it is not letting me explore the system file, i can't even open it..what'd you use?
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Brazildiogo732 said:
hey thanks man . i got MagicISO but it is not letting me explore the system file, i can't even open it..what'd you use?
Click to expand...
Click to collapse
If you are using windows, there is a command prompt application called unyaffs.exe that extracts the whole thing in windows. Might even work in linux with wine
jkoenig00 said:
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Click to expand...
Click to collapse
I actually paid for root explorer because its useful enough to be worth the money and someone took their time to write the application. I did use Root Explorer to go in and paste the files into the appropriate directories after getting them extracted.
Opening System
jkoenig00 said:
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Click to expand...
Click to collapse
Hey! When you go about opening /system/apps and system/lib, where do you go to open it? And How do you open it? The only system I've seen cannot been opened Idk how to do it and I'm seriously confused, thanks!!
Brazildiogo732 said:
Hey! When you go about opening /system/apps and system/lib, where do you go to open it? And How do you open it? The only system I've seen cannot been opened Idk how to do it and I'm seriously confused, thanks!!
Click to expand...
Click to collapse
What app are you using? You need to use a root explorer app like SU File Manager or Root Explorer.
thanks! got the files! i am about to intall! thanks!!
Got the Files, but no luck :/
jkoenig00 said:
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Click to expand...
Click to collapse
I got the files, but its not working on Desire Z rom... All it does is force close.. any ideas, anyone?!
you need to make sure the Swype Lib file copied into the /system/lib directory. Even if the app says it copied it, restart the app and navigate to the /system/lib directory and make sure the file is there. Then install swype normally. If the lib file is not successfully copied, swype will FC all the time.
not letting me paste!
jkoenig00 said:
you need to make sure the Swype Lib file copied into the /system/lib directory. Even if the app says it copied it, restart the app and navigate to the /system/lib directory and make sure the file is there. Then install swype normally. If the lib file is not successfully copied, swype will FC all the time.
Click to expand...
Click to collapse
Cool! thanks guys! I found how to do everything, but its not letting me paste into /system/lib :/ any sugestions? :/
it says "this folder is read only" and its refering to the /system/lib ..what do i do?
Open terminal emulator and type this
mount -o remount,rw /system
Then try again.
[G2/HTC Vision]
Still not working
luis86dr said:
Open terminal emulator and type this
mount -o remount,rw /system
Then try again.
[G2/HTC Vision]
Click to expand...
Click to collapse
After I put that in, it comes up "mount [-r] [-w] [-o options] [-t type device directory] and it still doesnt let me paste into the lib folder...whats happening? lol

Root Explorer Error

I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Marcg23 said:
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Are you trying to delete system files? Do you have SU installed? Are you clicking the R/W option. More details please.....
Several people have reported the issue with screen shot, to fix it they've had to rename the pictures folder(Seems like the folder is read only).
Swiftkey'ed on my CM9 Galaxy Nexus
No system files just old pictures, music files and other misc. It is set as r/w, also I am getting a few apps saying I need storage available that is writable. Something has to be up with the internal storage not allowing me to access or write to it.
Sent from my Galaxy Nexus
Well I am able to take screen shots by renaming he folder. However, I am still unable to write anything to my sdcard or modify files through root Explorer or any other file manager app.
Sent from my Galaxy Nexus
Root explorer - How to text edit
Hi All,
I have a problem with my root explorer. I am not able to open a file to edit. If i long press on a file , i dont get any option to open/edit the file.
i was supposed to edit gps.conf file under /system/etc but unable to do so from root explorer.
PS: i mount r/w from the root explorer every time i try..
Please help.
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
root explorer delete failed
danger-rat said:
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
i'm having this crazy "delete failed" error every time i try to delete any file in sdcart, external, and root directory (copy-paste, root, permissions works fine )
i tried to delete any remains of root explorer with es file explorer ((which works fine btw so its not a problem of partitions i think), re installed the program again but its the same . Flashed the rom from the beginning with a full wipe but its the same
this error happened first when i updated from blackmart alpha to some rootexplorer v.99. I uninstalled that but it left this error
Any idea what is causing that
I'm very curious and would appreciate it
thanks
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
rester555 said:
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
Click to expand...
Click to collapse
^^^^ this
Thank you rester, this worked for me too. Was pulling my hair out.

can delete file/ folder in sd card!

Its really bothering me. When flashing a Rom in the aroma I choose this red theme I never used. Well in the vrtheme folder on my SD card (internal storage) there is a bunch of. PNG files that show up in my gallery. If I try to delete from gallery they just come back. And if try to delete from file explorer with root permissions. It says file can not be deleted. This doesn't make sense or am I missing something?
Help would be appreciated.
Thank you
Give this a shot (assuming you are rooted)
find the folder they are in (for arguments' sake let's say they are in /storage/sdcard0/vrtheme/
download terminal emulator app
open it and type the following commands without quotes...
"su"
"rm /storage/sdcard0/vrtheme/*.png"
see if they are gone now.
Admiral Sir Manley Power said:
Give this a shot (assuming you are rooted)
find the folder they are in (for arguments' sake let's say they are in /storage/sdcard0/vrtheme/
download terminal emulator app
open it and type the following commands without quotes...
"su"
"rm /storage/sdcard0/vrtheme/*.png"
see if they are gone now.
Click to expand...
Click to collapse
Thank for trying to help. But if I go to directory all the way down to the PNG file I would have to repeat like 150 times
But anyways when I tried it. I was granted rights for su. Then received the # in terminal.
Then I did rm followed by file path.
It said permissions denied :/
Just wanted to report my findings. If you do a search for aroma file manager on xda. With that you can delete anyfile on SD card if given operation denied with any normal file explorer with root access.
FYI - sdcard0 is not really your SD Card at all. sdcard0 is the internal storage memory. extSdCard is your actual SD Card. And UsbDriveA, UsbDriveB, etc.. are your external drives like USB thumb drive, USB external drive, etc.
If you deleted file/s and then later came back that is because the file/s are being put back with the related app/s that the file/s are related too. Deal with the related app/s in order to stop the deleted file/s from reappearing.
If you can't delete the file/s at all then change the permissions of the file/s you want to delete and/or change the permissions with the folder that holds the file/s to be deleted. Then you can delete the file/s. You can change permissions with a file manager like Root Explorer, though you need to be rooted to change some permissions. Be careful. Deleting the wrong file/s can make your device bricked.
---------- Post added at 01:08 PM ---------- Previous post was at 12:34 PM ----------
trevor7428 said:
Thank for trying to help. But if I go to directory all the way down to the PNG file I would have to repeat like 150 times
But anyways when I tried it. I was granted rights for su. Then received the # in terminal.
Then I did rm followed by file path.
It said permissions denied :/
Click to expand...
Click to collapse
You wouldn't have to delete each .png file separately. Just type exactly what Admiral Sir Manley Power typed. The line command he wrote uses the wild card ( * ) so the command would delete all .png files within that folder at the same time.
Change the permissions of the folder that holds the files. Then try it. Make sure the app related to the files are not still caching the files. Caching the files would make the files to be currently in use. That would make the files not available to be deleted. You can also use another theme app, force kill the app related to the .png files, then delete the files. Then go back to that theme app.
JaguarXT said:
FYI - sdcard0 is not really your SD Card at all. sdcard0 is the internal storage memory. extSdCard is your actual SD Card. And UsbDriveA, UsbDriveB, etc.. are your external drives like USB thumb drive, USB external drive, etc.
If you deleted file/s and then later came back that is because the file/s are being put back with the related app/s that the file/s are related too. Deal with the related app/s in order to stop the deleted file/s from reappearing.
If you can't delete the file/s at all then change the permissions of the file/s you want to delete and/or change the permissions with the folder that holds the file/s to be deleted. Then you can delete the file/s. You can change permissions with a file manager like Root Explorer, though you need to be rooted to change some permissions. Be careful. Deleting the wrong file/s can make your device bricked.
Click to expand...
Click to collapse
I no SD card should be external. But on our note 2 the directory for internal is labeled SD card. Then vrtheme was in a folder named. " 0" I tried to change permissions and even the owner of file and folder, but it wouldn't let me with root permissions. That's why I was so stumped I had to post on xda.
And its not that the file would get deleted then put back it was I couldn't delete at all. There was no app to my knowledge for vrtheme.
trevor7428 said:
Thank for trying to help. But if I go to directory all the way down to the PNG file I would have to repeat like 150 times
But anyways when I tried it. I was granted rights for su. Then received the # in terminal.
Then I did rm followed by file path.
It said permissions denied :/
Click to expand...
Click to collapse
try this instead...
rm -f /storage/sdcard0/vrtheme/*.png"
if that doesn't work... try this....
chmod 777 /storage0/vrtheme
chmod 777 /storage0/vrtheme/*.png
rm -rf /storage/storage0/vrtheme
Admiral Sir Manley Power said:
try this instead...
rm -f /storage/sdcard0/vrtheme/*.png"
if that doesn't work... try this....
chmod 777 /storage0/vrtheme
chmod 777 /storage0/vrtheme/*.png
rm -rf /storage/storage0/vrtheme
Click to expand...
Click to collapse
I thanked everyone who replied, but I actually got it figured out. I flashed this zip file in recovery called aroma file manager. While let me delete whole folder from recovery. I appreciate all who helped.

Es file explorer issue ,

On my op3 , I get an error when I try to use it for root explorer
Any help will be appreciated.
Thanks .
I tried reinstall the app as well as super su.
No luck
is your phone rooted?
Same here. Use an older version of ES File Explorer. It works
Did the spyware scandal not put you off using es ?
What scandal?
Sent from my Nexus 5 using XDA-Developers mobile app
Es products where sending info to a server in China, TBH the addition of crap I didn't want had put me off before then.
https://forums.oneplus.net/threads/security-es-file-explorer-privacy-concerns.305336/
ghostofcain: Thanks for the link! Which file explorer would you recommend then? I've used ES for years and just came back to Android and read this.
PhoenixAG said:
ghostofcain: Thanks for the link! Which file explorer would you recommend then? I've used ES for years and just came back to Android and read this.
Click to expand...
Click to collapse
I'm currently using Fx Explorer
Cool thanks! I just remembered, I used to use Total Commander as well. Giving that and Fx Explorer a try!
just like ghostofcain, I use fx (with plus package). Perfect for me (even if there could be more clouds available tho).
Solid Explorer is awesome, too!
Sent from my LG-D855 using XDA-Developers mobile app
the same exact issue i encounter with my nexus 6.. not allowing me to select the root option.. workaround is to use solid explorer
Here u go this works, u may have to re flash su if it does not work after reboot
Download terminal and then enter the following
Attention!!!!! May break Android pay
su
mount -o remount,rw /system
touch /sbin/su
touch /system/bin/su
touch /system/xbin/su
mount -o remount,ro /system
exit
reboot
Doesn't work on my device.
The rw remount command is accepted without error message; but when I input "touch /sbin/su", an error comes up which says that the file system is read-only.
hasenbein1966 said:
Doesn't work on my device.
The rw remount command is accepted without error message; but when I input "touch /sbin/su", an error comes up which says that the file system is read-only.
Click to expand...
Click to collapse
same to me
Simply use another root explorer app for access to system files.

Categories

Resources