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

Thread: What is the "lib" folder for or about?

  1. Super Moderator
    Corinacakes's Avatar
    Member #
    5472
    Join Date
    Nov 2009
    Location
    Maine
    Posts
    5,033
    Liked
    9 times
    Phone
    DrOiD
    DroidForums.net Theme Developer
    Premium Member
    #1

    What is the "lib" folder for or about?

    Ok so just "to see" i was checking out my "system" folder and discovered that it's size is 91.5MB of 100MB "size on disk". Am i about to run out of room? Here's a breakdown of the folders and their size in my "system" folder:

    App - 25.2MB
    Bin - 4.32MB
    Etc - 487KB
    Fonts - 3.88MB
    framework - 11.6MB
    LIB - 39.9MB!! <<<< HELLO!! what is that crap?
    lost & Found - Empty
    Media - 3.25
    USR - 2.06MB
    Xbin - 727KB

    i can pretty much figure out what the rest of the folders are. after exploring that LIB folder i see about half of the files were created 10/20/09 and the other half on 12/22/09. I got my droid Nov 6. and i MIGHT have rooted it in December but i can't remember. Does this folder have something to do with rooting it? And if so, are the 12/22/09 files what replaced the 10/20/09 crap? and <gasp> can i delete them? or should i just stfu and stop worrying about it? if i only have like 8.5MB left in the system to use....should i not try anymore roms? i thought you needed to have a certain amount of space to flash them. and if so, how much space is it i need to have available? thanks
    *~*Corinacakes*~*

    -Keep your political and religious views off this forum.
    -We are here to have fun and learn, so please try and keep it that way for everyone!




    If you like my work and would like to help get my nails done I'd love it!
  2.  
     
     
     
  3. RS Admin
    christim's Avatar
    Member #
    30681
    Join Date
    Jan 2010
    Location
    New England
    Posts
    5,115
    Liked
    2 times
    Phone
    Moto-Droid - rooted
    Premium Member
    #2
    The /lib folder is used for shared library files that executables make use of.

    I have no idea if the rom install process first checks to see if there will be enough free diskspace before proceeding. A very good question to ask. But as the old rom gets removed there should be enough room for the next one unless it was drastically larger.

    Use terminal emulator and type df at the command prompt to break down the amount of space used in each folder if you are interested in knowing.

    You also can go to Settings/SD Card & phone storage and it will display how much free space is on both your card and your phone. I've got 53.94mb free on my internal phone storage. The below steps got me over 20mb back when I got down to about 23mb of internal phone space left.

    Doing a complete wipe of data and cache the next time you apply a rom will clear up some space too.

    From http://www.droidforums.net/forum/hac...ns-thread.html is this solution for gaining some more space back from your phone's memory space.

    1) Open Astro - free from the Market
    2) press the menukey
    3) select tools
    4) select "application manager/backup"
    5) backup all apps
    6) uninstalled all apps except Astro (if you uninstall Astro, you will have to download it again from the market to continue)
    7) from the backed-up apps column - reinstall all apps
    end result is all the downloaded install files are now stored on the card's memory storage instead of the phone's memory storage
    Chris

    If you apply a rom or theme - backup first!
    If you don't know how to backup...Stop until you do.
    hint: I name my backups like this: sg6.0_20100428 or ss4.2_20100626 to easily find them later. rom and date.


    Have a Problem, Click here to Visit the Rescue Squad
  4. Beta Team
    thebowers's Avatar
    Member #
    8519
    Join Date
    Nov 2009
    Location
    Iowa
    Posts
    2,548
    Twitter
    dabowerman
    Phone
    Rooted Droid, OC @ 1.1 Ghz
    DroidForums.net Theme Developer
    Premium Member
    #3
    Quote Originally Posted by christim View Post
    The /lib folder is used for shared library files that executables make use of.

    I have no idea if the rom install process first checks to see if there will be enough free diskspace before proceeding. A very good question to ask. But as the old rom gets removed there should be enough room for the next one unless it was drastically larger.

    Use terminal emulator and type df at the command prompt to break down the amount of space used in each folder if you are interested in knowing.

    You also can go to Settings/SD Card & phone storage and it will display how much free space is on both your card and your phone. I've got 53.94mb free on my internal phone storage. The below steps got me over 20mb back when I got down to about 23mb of internal phone space left.

    Doing a complete wipe of data and cache the next time you apply a rom will clear up some space too.

    From http://www.droidforums.net/forum/hac...ns-thread.html is this solution for gaining some more space back from your phone's memory space.

    1) Open Astro - free from the Market
    2) press the menukey
    3) select tools
    4) select "application manager/backup"
    5) backup all apps
    6) uninstalled all apps except Astro (if you uninstall Astro, you will have to download it again from the market to continue)
    7) from the backed-up apps column - reinstall all apps
    end result is all the downloaded install files are now stored on the card's memory storage instead of the phone's memory storage
    By reinstalling the apps it is placing them in /system/app or /data/app. Which is on the internal memory storage, right?
    If you like what I do, thanks



    Your can follow me as follows

    @dabowerman - Twitter
    Derek Bower - G+ - this is where I will be @ the most and where stuff gets released first.

    Theming Guides that might come in handy
    Theming Guide for Progress Bar
    Notification Text Color Change (How to)
    Theming Guide for System Text
  5. RS Admin
    christim's Avatar
    Member #
    30681
    Join Date
    Jan 2010
    Location
    New England
    Posts
    5,115
    Liked
    2 times
    Phone
    Moto-Droid - rooted
    Premium Member
    #4
    Quote Originally Posted by thebowers View Post
    By reinstalling the apps it is placing them in /system/app or /data/app. Which is on the internal memory storage, right?
    By reinstalling the apps it is placing them in /system/app or /data/app. Which is on the internal memory storage, right?[/quote]

    Everything that is not /sdcard is internal memory storage.

    I don't know why some end up in /system and some end up in /data.

    I applied a theme to the helixlauncher and the instructions had me move the helix launcher file from /data/apps to /system/apps. That tells me it will run in both locations but the MM process would only apply the theme to the /system app. I haven't tinkered around in those areas enough to have an answer as to whether or not you could just move all /system/app files to /data/apps if you were running low on room in /system.
    Chris

    If you apply a rom or theme - backup first!
    If you don't know how to backup...Stop until you do.
    hint: I name my backups like this: sg6.0_20100428 or ss4.2_20100626 to easily find them later. rom and date.


    Have a Problem, Click here to Visit the Rescue Squad
  6. Super Moderator
    Corinacakes's Avatar
    Member #
    5472
    Join Date
    Nov 2009
    Location
    Maine
    Posts
    5,033
    Liked
    9 times
    Phone
    DrOiD
    DroidForums.net Theme Developer
    Premium Member
    #5
    Thanks Chris...i did the df thing and here's what it says....as if i can understand it lol

    *~*Corinacakes*~*

    -Keep your political and religious views off this forum.
    -We are here to have fun and learn, so please try and keep it that way for everyone!




    If you like my work and would like to help get my nails done I'd love it!
  7. Master Droid
    cisco0910's Avatar
    Member #
    9039
    Join Date
    Nov 2009
    Location
    Virginia Beach, VA
    Posts
    845
    Phone
    Motorola Droid
    #6
    If i backup all apps in astro then uninstall and restore via astro, everything will be erased correct? Like all notes in ak notepad, all pass keys in my wifi finder app, weather bug widgets gonna have to be reput on screens, ect.....?
  8. Super Moderator
    Corinacakes's Avatar
    Member #
    5472
    Join Date
    Nov 2009
    Location
    Maine
    Posts
    5,033
    Liked
    9 times
    Phone
    DrOiD
    DroidForums.net Theme Developer
    Premium Member
    #7
    no yur data for each app will be saved. mine always is anyway
    *~*Corinacakes*~*

    -Keep your political and religious views off this forum.
    -We are here to have fun and learn, so please try and keep it that way for everyone!




    If you like my work and would like to help get my nails done I'd love it!
  9. Droid Sensei
    natediddy1120's Avatar
    Member #
    23380
    Join Date
    Jan 2010
    Location
    ???
    Posts
    3,183
    Phone
    CyanogenMod :-)
    #8
    Apps in /system/app are your default applications that come with the phone. Anything else thats there have been physically put there by the dev or you. Internal phone storage is only /data I am like 99% sure. You can have a lot of internal phone storage, but go to adb push an app to /system/app and get the error: "Not enough space left on device". I've seen it a bunch of times. That's because /system will not be reported as "internal" phone storage because you're not supposed to be adding/removing things from there anyways technically, so that's not even taken into consideration with "internal phone storage".

    And also, flashing ROMs doesn't have anything to do with the amount of space left in /system. And this is because, when you're flashing a new ROM, what's happening, is the /system partition is simply being switched out for a new /system partition. Doesn't matter if /system was completely jam packed, the *entire* /system is removed, and replaced with a whole new /system partition.

  10. Master Droid
    nphil's Avatar
    Member #
    38133
    Join Date
    Feb 2010
    Location
    Atlanta, GA
    Posts
    349
    Phone
    Enter Current Phone Model Here
    #9
    lib folder contains modules, opengl libraries, device drivers etc, do not delete it!

    /system/app folder is where all the system apps reside, they do not need to be signed. This is why Metamorph skinning works only if your app is in /system. Messing with pngs or anything else in an apk makes you have to resign the app all over again. All apps in /data partition need to be signed, i.e everything you install from the Market or otherwise goes in there. There is no way to install apps to /system except manually copying the apk in there.
    Last edited by nphil; 03-25-2010 at 10:47 PM.

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. Delete Email "Trash" Folder
    By ktdroid in forum Android General Discussions
    Replies: 11
    Last Post: 09-02-2010, 07:12 PM
  2. Yahoo mail - multiple "sent" emails in online folder
    By wickedjermany in forum Android General Discussions
    Replies: 7
    Last Post: 05-28-2010, 07:18 AM
  3. How do I empty my email "trash" folder
    By Mongoose in forum Android Tech Support
    Replies: 1
    Last Post: 12-17-2009, 01:43 PM
  4. Easier way to populate a "New Folder"?
    By Milehighjc in forum Android General Discussions
    Replies: 4
    Last Post: 11-23-2009, 05:46 PM
  5. Rename "New Folder"
    By fliggyg in forum Android General Discussions
    Replies: 1
    Last Post: 11-15-2009, 11:55 PM

Search tags for this page

android lib files
,

android lib folder

,
folder lib
,

lib folder

,
lib folder android
,
libs folder android
,
system lib android
,
system/lib android
,
system/lib folder android
,
what is lib folder
Click on a term to search our site for related topics.
Find us on Google+