Writing to /system/lib/modules
This is a discussion on Writing to /system/lib/modules within the Droid Hacks forums, part of the Droid Hacking category; Upgraded to the latest from the Sholes site v1.1. There's a new mount listed as:
/dev/block/loop0 on /system/lib/modules type squashfs (ro)
I need to be ...
-
Writing to /system/lib/modules
Upgraded to the latest from the Sholes site v1.1. There's a new mount listed as:
/dev/block/loop0 on /system/lib/modules type squashfs (ro)
I need to be able to write to this directory so I can drop a module in there.
I've remounted the /system dir as rw, as usual and that didn't work. I also tried:
mount -o remount,rw /dev/block/loop0 /system/lib/modules
and that didn't work either.No errors either time, it just stays ro.
Any idea how I can get rw to this directory and why the new mount is there?
Thanks,
Ricj
-
-
Same issue here. I haven't found a fix, but I do know why it is happening. The newer Sholes.info ROMs use compcache. This increases the cache of the system by creating a swap file. That swap file is in the modules directory.
It would be a pain, but you could flash with a virgin ROM, add your module, then apply the Sholes patch.
-
What are the commands you guys are using, and what are the errors you are getting? Also have you tried using dd to drop things in there?
-

Originally Posted by
m0bi1e
Same issue here. I haven't found a fix, but I do know why it is happening. The newer Sholes.info ROMs use compcache. This increases the cache of the system by creating a swap file. That swap file is in the modules directory.
It would be a pain, but you could flash with a virgin ROM, add your module, then apply the Sholes patch.
I had the module already in there prior to applying the new rom. It wipes the system directory so it takes out my module as well during the upgrade.
-

Originally Posted by
ejhart
What are the commands you guys are using, and what are the errors you are getting? Also have you tried using dd to drop things in there?
There are no errors...
-
You can't write to that. The directory doesn't exist in the Sholes 1.1 ROM. It's mounted by the kernel to store files there.

Retired: Motorola Droid, HTC Droid Incredible. VZW iPhone
Current phone: Droid Bionic
-
Previously I had the module tun.ko copied there. I understand what you're saying, so where can I place my module and run it? And if I can put it some where else I'm wondering if the app will be ok with that. FYI. The app is VPN Connections.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By hibiscus27 in forum Droid General Discussions
Replies: 9
Last Post: 01-14-2010, 01:13 PM
-
By Maybrick in forum New Member Introductions & Site Assistance
Replies: 4
Last Post: 01-06-2010, 04:56 PM
-
By quickster47 in forum Droid General Discussions
Replies: 17
Last Post: 12-27-2009, 08:11 PM
-
By youreunderarrest in forum Droid Applications
Replies: 5
Last Post: 12-22-2009, 06:46 PM
-
By tdawg5480 in forum Droid Hacks
Replies: 0
Last Post: 12-16-2009, 08:46 AM
Search tags for this page
/system/lib android
,
/system/lib/modules
,
android /lib/modules
,
android /system/lib
,
android /system/lib/modules
,
android lib modules
,
android system lib
,
android system lib modules
,
android system/lib
,
android system/lib/modules
,
place on /system/lib/modules/
,
system lib android
,
system/lib android
,
system/lib/modules
,
where is /system/lib in android
Click on a term to search our site for related topics.
Tags for this Thread