DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 7 of 7

Thread: Writing to /system/lib/modules

  1. Master Droid
    RichStevenson's Avatar
    Member #
    2927
    Join Date
    Nov 2009
    Location
    Medina, OH
    Posts
    476
    Liked
    3 times
    Phone
    Motorola Bionic
    #1

    Unhappy 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
  2.  
     
     
     
  3. Droid Newbie
    m0bi1e's Avatar
    Member #
    15489
    Join Date
    Dec 2009
    Posts
    1
    Phone
    Droid
    #2
    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.
  4. Junior Droid
    ejhart's Avatar
    Member #
    26670
    Join Date
    Jan 2010
    Posts
    12
    Phone
    Enter Current Phone Here
    #3
    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?
  5. Master Droid
    RichStevenson's Avatar
    Member #
    2927
    Join Date
    Nov 2009
    Location
    Medina, OH
    Posts
    476
    Liked
    3 times
    Phone
    Motorola Bionic
    #4
    Quote Originally Posted by m0bi1e View Post
    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.
  6. Master Droid
    RichStevenson's Avatar
    Member #
    2927
    Join Date
    Nov 2009
    Location
    Medina, OH
    Posts
    476
    Liked
    3 times
    Phone
    Motorola Bionic
    #5
    Quote Originally Posted by ejhart View Post
    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...
  7. Master Droid
    Berzerker's Avatar
    Member #
    18177
    Join Date
    Dec 2009
    Posts
    331
    Liked
    1 times
    Twitter
    @berzerker7
    Phone
    Motorola Droid Bionic
    #6
    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
  8. Master Droid
    RichStevenson's Avatar
    Member #
    2927
    Join Date
    Nov 2009
    Location
    Medina, OH
    Posts
    476
    Liked
    3 times
    Phone
    Motorola Bionic
    #7
    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.

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Replies: 9
    Last Post: 01-14-2010, 01:13 PM
  2. App for "Word"-like writing on Droid? Advice wanted please!
    By Maybrick in forum New Member Introductions & Site Assistance
    Replies: 4
    Last Post: 01-06-2010, 04:56 PM
  3. Writing Notes
    By quickster47 in forum Android General Discussions
    Replies: 17
    Last Post: 12-27-2009, 08:11 PM
  4. Document writing app?
    By youreunderarrest in forum Android Applications
    Replies: 5
    Last Post: 12-22-2009, 06:46 PM
  5. /system/bin/sh missing su
    By tdawg5480 in forum Android Hacks and Help
    Replies: 0
    Last Post: 12-16-2009, 08:46 AM

Search tags for this page

/system/lib android
,

/system/lib/modules

,

android /system/lib

,
android /system/lib/modules
,
android system lib
,

android system/lib

,
android system/lib/modules
,
system lib android
,
system/lib android
,

system/lib/modules

Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+