1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

adb and galaxySupport

Last Updated:

  1. Alonzzo2

    Alonzzo2 Well-Known Member


    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!

  2. Rastaman-FB

    Rastaman-FB Well-Known Member

    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

    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

    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

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

    # 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


Share This Page