adb and galaxySupport


Last Updated:

  1. Alonzzo2

    Alonzzo2 Well-Known Member This Topic's Starter

    Joined:
    Nov 23, 2009
    Messages:
    106
    Likes Received:
    3
    Hi

    Im trying to access system files on my galaxy using adb.
    i connected the phone in debugging mode, installed all the drivers (including the adb driver - thanks kam187), and running the following commands:
    adb devices - lists my galaxy
    (List of devices attached
    I7500PTs4k0ONMD device)
    adb remount - i get an error
    (remount failed: Operation not permitted)
    adb root - i get an error
    (adbd cannot run as root in production builds)

    im using the adb.exe from the sdk 1.5 rel 3

    what am i doing wrong?

    thanks! im really glad i joined this forum, it seems great!
     

    Advertisement
  2. Rastaman-FB

    Rastaman-FB Well-Known Member

    Joined:
    Sep 11, 2009
    Messages:
    6,113
    Likes Received:
    1,010
    adb remount and adb root are protected commands and need either a rooted kernel or a flashed recovery model to run
    if you flash the recovery 4.2 then you can run adb commands while booted in recovery mode.
    if you are wanting a rooted kernel then you will need to modify a system image and flash it on the device or use Galaxo from hdblog.it that is also linked in the faq's
     
  3. Alonzzo2

    Alonzzo2 Well-Known Member This Topic's Starter

    Joined:
    Nov 23, 2009
    Messages:
    106
    Likes Received:
    3
    thanks for the reply
    i forgot to mention i rooted my device using the instructions at hdblog.it ... flashed the image (but stayed with the original rom, and didnt update my firmware, if its relevant)

    so i can do it only in recovery mode?
     
  4. kam187

    kam187 Well-Known Member

    Joined:
    Aug 3, 2009
    Messages:
    1,320
    Likes Received:
    46
    If you flashed the recovery you can use 'enable su' from recovery mode to root your stock rom. adb remount probably wont work tho because its not setup to open a root shell by default. Instead you can do

    # open a shell
    adb shell

    # switch to root
    su

    # check you're root? it should return uid=0
    id

    # now you can remount as read/write if you like
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
     
    lithiumliger likes this.
  5. Alonzzo2

    Alonzzo2 Well-Known Member This Topic's Starter

    Joined:
    Nov 23, 2009
    Messages:
    106
    Likes Received:
    3
    Thanks!
     

Share This Page

Loading...