• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help adb and galaxy

Alonzzo2

Well-Known Member
Nov 23, 2009
106
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!
 
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!
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
 
Upvote 0
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
 
  • Like
Reactions: lithiumliger
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones