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

Thread: I found the root folder! (i think)

  1. Junior Droid
    DroidMan85's Avatar
    Member #
    7469
    Join Date
    Nov 2009
    Location
    San Diego
    Posts
    10
    Phone
    Motorola Droid
    #1

    I found the root folder! (i think)

    In this, I am using android terminal emulator by jack palevich
    I decided to do some digging and see how far i got. I ended up getting a lot of error messages such as permission denieds and "cannot cd to blah blah blah" I kept track of a little of my digging and i think i found the root folder but cannot access it. Heres a little bit that i've documented. its not much, but its a start somewhere.
    Code:
        
        $ ls
        swlite_stmt_journals
        config
        cache
        sdcard
        d
        etc
        system
        sys
        sbin
        proc
        init.sholes.rc
        init.rc
        init.goldfish.rc
        init
        default.prop
        data
        root
        dev
        
        $ls -l
        drwxrwxrwt root     root  2009-11-21     13:43         smt_journals
        drw-rw-rw-    root     root  1969-12-31     16:07         config
        drwxrwx---    system cache  2009-11-21     13:58            cache
        d---rwxr-x      system sdcard_rw    2009-11-21     13:38     sdcard
        lrwxrwxrwx    root    root     2009-11-17     21:57 d -> /sys/kernel/debug
        lrwxrwxrwx    root    root     2009-11-17     21:57 etc -> /system/etc
        drwxr-xr-x    root    root     2009-10-20  20:03        system
        drwxr-xr-x    root    root     1969-12-31     16:00     sys
        drwxr-x---    root    root     1969-12-31      16:00     sbin
        dr-xr-xr-x    root    root     1969-12-31     16:00     proc
        -rwxr-x---    root    root    6226    1969-12-31     16:00     init.sholes.rc
        -rwxr-x---    root    root   12377    1969-12-31     16:00     init.rc
        -rwxr-x---    root    root    1677    1969-12-31     16:00     init.goldfish.rc
        -rwxr-x---    root    root 103100    1969-12-31     16:00     init
        -rw-r--r--    root    root    118    1969-12-31     16:00     default.prop
        drwxrwx--x   system    system    2009-11-20     21:18     data
        drwx------    root    root     2009-10-20     16:03     root
        drwxr-xr-x    root    root     2009-11-17     21:57     dev
        
        $ls -s
        0 swlite_stmt_journals
        2  ./config
        2  ./cache
        32  ./sdcard
        0  ./d
        0    ./etc
        2    ./system
        0    ./sys
        0    ./sbin
        0    ./proc
        8    ./init.sholes.rc
        16    ./init.rc
        4    ./init.goldfish.rc
        104    ./init
        4    ./default.prop
        2    ./data
        0    ./root
        0    ./dev
        
        $ cd swlite_stmt_journals
    
    (when running ls commands, it appears to be blank)

    Code:
        $ cd ..
        $ cd config
        cd: canít cd to config


    also cant cd to cache, etc, system, sys, sbin, proc, init.sholes.rc, init.rc and more
    but they might also be data files. Anyone know?

    Code:
    $ cd data
        opendir failed, Permission denied
    $
    $ ls /data
        opendir failed, Permission denied




    I encourage everyone to play around and see what can be found.

    I know with linux, you can make yourself a root user by running visudo and adding

    Code:
    username   ALL = (ALL) ALL


    right under
    Code:
    root ALL = (ALL) ALL


    I wonder if we can do that with the droid also.



    This is my first post everyone and I did some digging. Im not super familiar with linux, but i have been running the fedora os in my home for atleast a year.

    Chown works, but I am unsure of the username that would be used. chmod works. the clear command DOESNOT work and neither do the rpm, apt-get, or yum commands. Read and cat also work. Anyone find other commands? Has anyone been able to read the root folder yet?
  2.  
     
     
     
  3. Master Droid
    Xerozix's Avatar
    Member #
    7274
    Join Date
    Nov 2009
    Location
    Northern VA
    Posts
    352
    Phone
    Motorola Droid
    #2
    Awesome. That's pretty cool. If you look at the source code, you might be able to pull up some more info on switching to root or something. I'm actually wondering if it's possible to create an SSH server on the phone or something like that
  4. Junior Droid
    DroidMan85's Avatar
    Member #
    7469
    Join Date
    Nov 2009
    Location
    San Diego
    Posts
    10
    Phone
    Motorola Droid
    #3
    I thought I might have seen some apps similar to that.... but im not completely sure

    **Edit** is connect bot what you're looking for?
    Last edited by DroidMan85; 11-21-2009 at 05:09 PM.
  5. Master Droid
    Xerozix's Avatar
    Member #
    7274
    Join Date
    Nov 2009
    Location
    Northern VA
    Posts
    352
    Phone
    Motorola Droid
    #4
    No haha. Connect bot is the app for SSHing to OTHER unix devices, its a client.

    Pretty much making a SSH Server app is having it so that you can experiment with your phone from your computer using your favorite SSH client (putty etc.)

    That would make it MUCH easier to type.
  6. Junior Droid
    DroidMan85's Avatar
    Member #
    7469
    Join Date
    Nov 2009
    Location
    San Diego
    Posts
    10
    Phone
    Motorola Droid
    #5
    ahhh i see... yeah... typing in the terminal is a pain as of right now. In the terminal app that i used for this, there is no on screen keyboard. sometimes the onscreen keyboard is easier to type fast with
  7. Master Droid
    s-one's Avatar
    Member #
    2867
    Join Date
    Nov 2009
    Posts
    257
    Phone
    Drooooooid
    #6
    Cool!! I'd like to modify the media folder with my own media files so every time I mount I don't get the default media notifications. Like my ()wn
  8. Junior Droid
    DroidMan85's Avatar
    Member #
    7469
    Join Date
    Nov 2009
    Location
    San Diego
    Posts
    10
    Phone
    Motorola Droid
    #7
    I was thinking the same way, but modifying the eye in boot-up to have flames. Sort of like having an evil-droid phone.
  9. Master Droid
    Xerozix's Avatar
    Member #
    7274
    Join Date
    Nov 2009
    Location
    Northern VA
    Posts
    352
    Phone
    Motorola Droid
    #8
    Now, I'd learn the Droid programming language and develop a SSH Server (I'm a code junkie) but I honestly don't have the time.

    Stupid Droid won't mount to my mac lol
    Motorola Droid - Cyanogenmod 6.0.0-Droid | apps2SD | bekit 1200

    Sent from my computer through thousands of network nodes to the DroidForums web/mySQL server, then from the web/mySQL server through thousands more of network nodes to your viewing device.
  10. Junior Droid
    DroidMan85's Avatar
    Member #
    7469
    Join Date
    Nov 2009
    Location
    San Diego
    Posts
    10
    Phone
    Motorola Droid
    #9
    if you know java, you should be able to figure it out. I'm in the process of learning java, myself, right now
  11. Junior Droid
    daddycat31's Avatar
    Member #
    1957
    Join Date
    Nov 2009
    Posts
    7
    Phone
    Enter Current Phone Here
    #10
    I know from rooting my G1 that it is done through an app called Terminal Emulator and another one called Superuser Permission. I simply followed the directions that the dev posted so that the extent of my knowledge on that. Hope that helps cuase I can't wait to root this baby.
Page 1 of 3 123 LastLast

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. I found a good video converter for the Droid...
    By tc1 in forum Android Audio and Video
    Replies: 95
    Last Post: 06-16-2010, 01:41 AM
  2. Whats the best Video player you've found?
    By yearn in forum Android Applications
    Replies: 23
    Last Post: 02-13-2010, 07:36 PM
  3. Replacement Battery Cover - No Where to Be Found !!!
    By daelight in forum Android General Discussions
    Replies: 2
    Last Post: 11-17-2009, 07:46 PM
  4. Early Adopter G1 owner, happy to have found your forum!
    By webby in forum New Member Introductions & Site Assistance
    Replies: 1
    Last Post: 11-04-2009, 04:45 PM
  5. Looking for a sign.........Found it!
    By moparharn in forum Non-Android Smart Phones
    Replies: 2
    Last Post: 11-03-2009, 08:25 PM

Search tags for this page

android terminal emulator opendir failed
,
droid x root directory
,
goldfish root android
,
goldfish.rc android
,

init.goldfish.rc

,
init.goldfish.rc android
,
opendir failed, permission denied
,
root directory droid x
,
what is init.goldfish.rc
,
where is the root folder on droid
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+