Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

output from DDF and CAT /proc/mounts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    output from DDF and CAT /proc/mounts

    I had a short exchange with Bob and here are the results.

    *edit* the dup '/' and '/dev' lines is the way it came out, it is not a paste error.

    DF OUTPUT
    -------------
    Filesystem Size Used Free Blksize
    / 30M 18M 11M 1024
    / 30M 18M 11M 1024
    /dev 157M 44K 157M 4096
    /dev 157M 44K 157M 4096
    /mnt 157M 0K 157M 4096
    /mnt/asec 157M 0K 157M 4096
    /mnt/obb 157M 0K 157M 4096
    /system 242M 172M 69M 1024
    /data 503M 133M 370M 4096
    /cache 251M 4M 247M 4096
    /mnt/sdcard 2G 749M 1G 4096
    /mnt/secure/asec 2G 749M 1G 4096
    /mnt/extern_sd 3G 660M 3G 32768
    /mnt/asec/com.lazy8studios.cogs.humble-1 72M 70M 2M 4096
    /mnt/asec/com.rovio.angrybirdsseasons-1 21M 19M 1M 4096
    /mnt/asec/com.secretexit.zb2.humble-1 181M 177M 4M 4096
    /mnt/asec/fishnoodle.canabalt_humble-1 14M 12M 1M 4096
    /mnt/asec/com.com2us.heavygunner.normal.paidfull.amazon.glob al.android.common-1 20M 18M 1M 4096
    /mnt/asec/com.atari.mobile.amazon.greatesthits-1 45M 43M 1M 4096
    /mnt/asec/com.thegamebakers.squidspremium-1 19M 17M 2M 4096
    /mnt/asec/com.amazon.mp3-1 5M 3M 1M 4096
    /mnt/asec/com.kobobooks.android-1 5M 3M 1M 4096
    /mnt/asec/com.melodis.midomiMusicIdentifier.freemium-1 5M 3M 1M 4096
    /mnt/asec/com.farproc.wifi.analyzer-1 2M 672K 1M 4096
    /mnt/asec/com.twotribes.sns.humble-1 170M 166M 3M 4096
    /mnt/asec/net.mobigame.edge-1 38M 36M 2M 4096
    /mnt/asec/com.OwlchemyLabs.SnuggleTruck-1 19M 17M 1M 4096


    The software installs are legit btw. I luv me some SQUIDS. Anyway NEXT...
    It looks like system, data, cache are on nandc, nandd, nandg?

    CAT /proc/mounts OUTPUT
    ------------------------------
    rootfs / rootfs rw 0 0
    /dev/root / ext4 ro,relatime,barrier=1,data=ordered 0 0
    devtmpfs /dev devtmpfs rw,relatime,size=161112k,nr_inodes=40278,mode=755 0 0
    tmpfs /dev tmpfs rw,relatime,mode=755 0 0
    devpts /dev/pts devpts rw,relatime,mode=600 0 0
    proc /proc proc rw,relatime 0 0
    sysfs /sys sysfs rw,relatime 0 0
    tmpfs /mnt tmpfs rw,relatime,mode=777,gid=1000 0 0
    tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
    tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
    /dev/block/nandc /system ext4 ro,relatime,barrier=0,data=ordered 0 0
    /dev/block/nandd /data ext4 rw,nosuid,nodev,noatime,barrier=0,data=ordered,noa uto_da_alloc 0 0
    /dev/block/nandg /cache ext4 rw,nosuid,nodev,noatime,barrier=0,data=ordered 0 0
    /dev/block/vold/93:56 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime, uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utim e=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/vold/93:56 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime, uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utim e=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
    /dev/block/vold/179:1 /mnt/extern_sd vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime, uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utim e=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-0 /mnt/asec/com.lazy8studios.cogs.humble-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-1 /mnt/asec/com.rovio.angrybirdsseasons-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-2 /mnt/asec/com.secretexit.zb2.humble-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-3 /mnt/asec/fishnoodle.canabalt_humble-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-4 /mnt/asec/com.com2us.heavygunner.normal.paidfull.amazon.glob al.android.common-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-5 /mnt/asec/com.atari.mobile.amazon.greatesthits-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-6 /mnt/asec/com.thegamebakers.squidspremium-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-7 /mnt/asec/com.amazon.mp3-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-8 /mnt/asec/com.kobobooks.android-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-9 /mnt/asec/com.melodis.midomiMusicIdentifier.freemium-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-10 /mnt/asec/com.farproc.wifi.analyzer-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-11 /mnt/asec/com.twotribes.sns.humble-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-12 /mnt/asec/net.mobigame.edge-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    /dev/block/dm-13 /mnt/asec/com.OwlchemyLabs.SnuggleTruck-1 vfat ro,dirsync,nosuid,nodev,noatime,nodiratime,uid=100 0,fmask=0222,dmask=0222,codepage=cp437,iocharset=i so8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

    And being a Allwinner A10 is I guess why my normal rockchip method of rom dumping left me stumped.
    Last edited by notpod; 29 March 2012, 02:25.

    #2
    You have just completely lost me.

    Is this usable source code or data?

    Comment


      #3
      some explanation as best I know it

      In my previous experiences with android when it came to dumping the rom the stuff Iwanted was in /dev/block/mtdblock(some #) and a entry in /proc/mtdcat would have the sizes of the block so you could use 'dd' to clone the info out to a file.

      When I looked at the pmid701c there was/is no /dev/block/mtd* anything not a /proc/ entry. But looking at the /proc/mounts it looks (I mean I am guessing) that what we want is in /dev/nandc d and g.

      What you see is the output of the 'df' command and contents of /proc/mounts, run as root on the device itself not via ADB.

      Waiting for more instructions...

      Comment


        #4
        You are correct my friend. Very different setup ROM.

        If you want to DD /system this is your mount point

        /dev/block/nandc /system

        It is interesting it is in ext4 format! Heck that is what my 1.4 ROM was all about! Converting from Cramfs RO to ext3 inmy 1.3 ROM and then the faster ext4 in my 1.4 ROM.

        FYI this should be an easy tab to root. All you really need are SU and superuser.apk!!!!
        /system maybe mounted as RO but you should be easily able to issue a remount RW command in a terminal emulator!

        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment


          #5
          Originally posted by Finless View Post
          You are correct my friend. Very different setup ROM.

          If you want to DD /system this is your mount point

          /dev/block/nandc /system

          It is interesting it is in ext4 format! Heck that is what my 1.4 ROM was all about! Converting from Cramfs RO to ext3 inmy 1.3 ROM and then the faster ext4 in my 1.4 ROM.

          Bob
          Wait? Does that mean were "pre-set" so to speak to drop Honeycomb on these?

          Comment


            #6
            Do this in your terminal emulator

            $ su
            # mount -o rw,remount -t ext4 /dev/block/nandc /system

            BAM! You should now have a writable /system!!!!

            My bet is you could also install Root Explorer. In it when you open /system in Root Explorer file manager at the TOP is a "mount as RW" button. My bet it will actually do the remount command for you!


            Bob
            "Pzebacz im, bo nie wiedzą, co czynią"
            "Прости им, они не ведают, что творят"
            "Perdona loro perché non sanno quello che fanno"
            "Vergib ihnen, denn sie wissen nicht, was sie tun"
            "Vergeef hen want ze weten niet wat ze doen"
            "Pardonne-leur car ils ne savent pas ce qu'ils font"
            "Perdónalos porque no saben que lo que hacen"
            "Oprosti im, jer ne znaju što čine"
            "Forgive them as they know not what they do"





            Comment


              #7
              Originally posted by Zarealius View Post
              Wait? Does that mean were "pre-set" so to speak to drop Honeycomb on these?
              Huh? Where did you get that out of my post? I said nothing about honeycomb.

              Bob
              "Pzebacz im, bo nie wiedzą, co czynią"
              "Прости им, они не ведают, что творят"
              "Perdona loro perché non sanno quello che fanno"
              "Vergib ihnen, denn sie wissen nicht, was sie tun"
              "Vergeef hen want ze weten niet wat ze doen"
              "Pardonne-leur car ils ne savent pas ce qu'ils font"
              "Perdónalos porque no saben que lo que hacen"
              "Oprosti im, jer ne znaju što čine"
              "Forgive them as they know not what they do"





              Comment


                #8
                Sorry I'm all turned around here. I believe most of us are actually rooting with the intent of using a different ROM. I may also be confused here. I ve been through hundreds of threads over the past 3 days on this tablet. Again my apologies.

                Also I just typed your code into my emulator (terminal)

                but what now?

                Ive never doing anything this extensive...
                Last edited by Zarealius; 29 March 2012, 02:53. Reason: forgot

                Comment


                  #9
                  A full root is the following

                  1) You can be granted Super User (root) permissions.
                  2) /system is read and write.
                  Without being able to write to /system you cant do much customizing.

                  A Semi-root is you can be granted super user permissions but you cannot write to /system.

                  All of the above has nothing to do with custom ROMs. Custom ROMs are made with the above built in and then people change the functionality of the ROM to make the tablet better or add capabilities.
                  You can flash a custom ROM that does not have to provide you SU or RW /system.

                  Hope that all makes sense?

                  Bob
                  "Pzebacz im, bo nie wiedzą, co czynią"
                  "Прости им, они не ведают, что творят"
                  "Perdona loro perché non sanno quello che fanno"
                  "Vergib ihnen, denn sie wissen nicht, was sie tun"
                  "Vergeef hen want ze weten niet wat ze doen"
                  "Pardonne-leur car ils ne savent pas ce qu'ils font"
                  "Perdónalos porque no saben que lo que hacen"
                  "Oprosti im, jer ne znaju što čine"
                  "Forgive them as they know not what they do"





                  Comment


                    #10
                    mount rw success!

                    That worked just fine. Between the storm (east va) and the time I will do the dumping tomorrow.

                    Now I have to ask why do all these companies keep so much of the phone junk in these roms?

                    Thanks Bob and the group!

                    Comment


                      #11
                      Originally posted by Finless View Post
                      A full root is the following

                      1) You can be granted Super User (root) permissions.
                      2) /system is read and write.
                      Without being able to write to /system you cant do much customizing.

                      A Semi-root is you can be granted super user permissions but you cannot write to /system.

                      All of the above has nothing to do with custom ROMs. Custom ROMs are made with the above built in and then people change the functionality of the ROM to make the tablet better or add capabilities.
                      You can flash a custom ROM that does not have to provide you SU or RW /system.

                      Hope that all makes sense?

                      Bob
                      Moderately, I was originally just after the basic root so I could install firmware of some sort honestly Im not even sure what I was originally trying to do.....

                      Comment


                        #12
                        Originally posted by Zarealius View Post
                        Moderately, I was originally just after the basic root so I could install firmware of some sort honestly Im not even sure what I was originally trying to do.....
                        Hehehe.... Well you cannot install firmware that is not made for your tablet! As far as I know our dicussions here are trying to get to a point where someone can make custom firmware. So there is no custom firmware to install yet!

                        But as you see good progress was made today!

                        Glad I could help notpod!

                        Now if you guys want a permananet /system as RW so you do not have to issue that remount command every time, we need to edit init.rc and in there state the line that says this:

                        mount ext4 mtd@system /system wait ro

                        to this

                        mount ext4 mtd@system /system wait rw

                        However init.rc in in the BOOT segment of the ROM. So even though you are rooted and can change /system to RW and now can edit init.rc, your edits will be lost on the next reboot. So wee need to figure out how to dump the boot segment of the ROM, modify init.rc, and reflash the boot segment.

                        You guys are SUPER LUCKY that the manufacturer made system as EXT4! Most tablets use cramfs which is a READ ONLY file system and you have to do a ton of ROM work to convert it to ext4.

                        Bob
                        "Pzebacz im, bo nie wiedzą, co czynią"
                        "Прости им, они не ведают, что творят"
                        "Perdona loro perché non sanno quello che fanno"
                        "Vergib ihnen, denn sie wissen nicht, was sie tun"
                        "Vergeef hen want ze weten niet wat ze doen"
                        "Pardonne-leur car ils ne savent pas ce qu'ils font"
                        "Perdónalos porque no saben que lo que hacen"
                        "Oprosti im, jer ne znaju što čine"
                        "Forgive them as they know not what they do"





                        Comment


                          #13
                          roms dumped, now what?

                          OK using the block sizes from DF since I have no /proc/ entry I pulled:

                          /dev/block/nandc into system.img (using blocksize=1024 per DF output)
                          /dev/block/nandd into data.img (blocksize=4096)
                          /dev/block/nandg into cache.img (blocksize=4096)

                          and what I hope is boot:

                          /dev/block/nandb into maybe_boot.img (blocksize=4096)

                          and because there is no DF out for /boot :

                          /dev/block/nanb into maybe_boot.img_bs1k.img (blocksize=1024)

                          If that is the system block size I thought it could be one or the other so...

                          Where can I place these so someone else can check them out to see if they are *GOOD*?

                          Also worked on a video cable. It seems per 'lsmod' that HDMI is driving the video out. but thats another thread. and its late for me.

                          Comment


                            #14
                            second look at .img files

                            Morning. I took a look inside the .img files with a HEXeditor as I could not mount them. It looks like plain text variable names and such so I don't think its encrypted. No EXT4 on my PC or MAC (ppc g5 mac) and maybe my linux ext4 needs updating OR maybe its not "pure" ext4?

                            I peeked inside my 'maybe_boot.img' files and both the bs=1024 and bs=4096 version look the same. I would not know for sure but it sorta looks like the right thing.

                            I think the /dev/block/nand goes like this nandb = boot (b for boot), nandc= system (c for c: drive), nandd = data (D for data) and nang = cache (G for google spies on you via your cache?!?! C was taken? LOL)

                            I will be gone this weekend so if someone else want to take a look I need a place to up load or send me a email and I will make a shared dropbox folder? But it is EZ enough to pull your own. Once you have root, IE you get the "#" prompt. I targeted my external SD as save location, so I could take the microSD out and go directly to the computer with it. That path is '/mnt/extern_sd/'.

                            $su
                            #dd if=/dev/block/nanb of=/mnt/extern_sd/maybe_boot.img bs=1024
                            #dd if=/dev/block/nanc of=/mnt/extern_sd/system.img bs=1024
                            #dd if=/dev/block/nand of=/mnt/extern_sd/data.img bs=4096
                            #dd if=/dev/block/nang of=/mnt/extern_sd/cache.img bs=4096

                            Not sure you need to data.img or cache.img but there you go.

                            Comment


                              #15
                              Block size is not the total size of the partition. What that is telling you is how the parition is blocked. e.g. like a sector on a hard disk. In this case 4096 is the sector size. 4096 is usually what is used for NAND memory for best performance as NAND memory is paged in 4096 chunks.

                              Bob
                              "Pzebacz im, bo nie wiedzą, co czynią"
                              "Прости им, они не ведают, что творят"
                              "Perdona loro perché non sanno quello che fanno"
                              "Vergib ihnen, denn sie wissen nicht, was sie tun"
                              "Vergeef hen want ze weten niet wat ze doen"
                              "Pardonne-leur car ils ne savent pas ce qu'ils font"
                              "Perdónalos porque no saben que lo que hacen"
                              "Oprosti im, jer ne znaju što čine"
                              "Forgive them as they know not what they do"





                              Comment

                              Working...
                              X