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

Help Help with use of adb on mac desktop

i beleive we have success!!!!

# mount -o rw,relatime,remount -t yaffs2 /dev/block/mtdblock5 /system
#


now how should i enter the command to push recovery from this directory?
/android/platform-tools/recovery.img
 
:)

So you know - none of this was caused by your mac - it had something to do with missing the remount command within the phone - I suspect a missing Busybox, but I've been tinkering with mine so long I won't guarantee that.

In any case - note the method, bookmark this page. It's that last digit (in mtdblock5) that may someday change on you.

You can confirm it worked, btw, by re-doing just the naked "mount" command - your list will now show rw where it showed ro before.

Now, from the # - you can just say exit and then do adb push or whatever else you'd like.

MAKE A FULL BACKUP BEFORE TINKERING WITH YOUR SYSTEM AREA!!!
 
will do!

so from

# mount -o rw,relatime,remount -t yaffs2 /dev/block/mtdblock5 /system
#

i would use
#adb push /android/platform-tools/recovery.img
???
 
OK - four things:

First, most important - at the # prompt, you're inside adb/shell, so no commands there will begin with adb.

Second, "adb push" is a command you issue from the mac side - kinda the same as when you issued "adb shell"

Third - the raw answer to your question would be:

# exit

(now you're back to your mac, but your /system is still rw, srsly, you can trust that)

Then do:

(machinename) platform-tools (yourname) $ adb push recovery.img

Fourth - don't do that based on my say-so!!!!!!

Recovery installation processes can vary by phone model - only follow the directions for your phone model, or this is the point where you can screw up your phone!!!

Your best bets are (in this order) - to get the right advice from this user community or to post a link here to the instructions you're following for me to review.

But - advice from another Optimus M rooter is 100x best bet over me at this point - I'm expert in rooting, but not rooting your model - if that makes any sense? :)

recovery.img installation varies by phone model - experience trumps expert opinion every time!!!
 
reviving the old thread, the problem in sookieball case was solved at mount. but my problem still isnt saved.

$ mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/usb type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /app-cache type tmpfs (rw,relatime,size=7168k)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p9 on /system type ext4 (ro,relatime,barrier=1,data=ordered)
/dev/block/mmcblk0p7 on /cache type ext4 (rw,nosuid,nodev,noatime,barrier=1,data=ordered)
/dev/block/mmcblk0p1 on /efs type ext4 (rw,nosuid,nodev,noatime,barrier=1,data=ordered)
nil on /sys/kernel/debug type debugfs (rw,relatime)
/dev/block/mmcblk0p10 on /data type ext4 (rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard)
/dev/block/mmcblk0p4 on /mnt/.lfs type j4fs (rw,relatime)
/dev/block/vold/179:11 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard)
/dev/block/vold/179:17 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:17 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/external_sd/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
/dev/block/dm-0 on /mnt/asec/com.socialin.android.photo.photoidpro-2 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-1 on /mnt/asec/com.artelplus.howtotie-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-2 on /mnt/asec/net.androgames.level-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-3 on /mnt/asec/com.Wuzla.game.DoodleDash-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-4 on /mnt/asec/net.hexage.evac.hd-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-5 on /mnt/asec/com.animoca.prettyPetSalon-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-6 on /mnt/asec/com.artelplus.howtodraw-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-7 on /mnt/asec/com.modernalchemists.dropdown-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-8 on /mnt/asec/com.silvertree.cordy-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-9 on /mnt/asec/com.tunewiki.lyriclegend.android-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-10 on /mnt/asec/amoneron.android.slugspro-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-11 on /mnt/asec/com.gosub60.solfree2-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-12 on /mnt/asec/pl.idreams.CanKnockdown-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-13 on /mnt/asec/com.android.thewongandonly.QuickDraw-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-14 on /mnt/asec/net.hexage.totemo.hd-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-15 on /mnt/asec/com.masshabit.squibble.paid-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-16 on /mnt/asec/com.pandapow.vpn-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-17 on /mnt/asec/com.EscalationStudios.Platinum-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-18 on /mnt/asec/com.angrymobgames.muffinknight-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-19 on /mnt/asec/net.hexage.everlands.hd-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-20 on /mnt/asec/com.monkeybusters.snailbuster-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-21 on /mnt/asec/com.playcreek.DeathWorm_Free-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
$ exit
Sameers-MacBook-Pro:~ sameerb1$ adb shell
$ ls /sbin/remount
ls: /sbin/remount: No such file or directory
$ mount ls/bin
mount: can't read '/etc/fstab': No such file or directory
$ mount ls /sbin
mount: permission denied (are you root?)




Last login: Wed Nov 2 11:26:51 on ttys000
Sameers-MacBook-Pro:~ sameerb1$ adb shell
$ mount ls /sbin
mount: permission denied (are you root?)
$

the whole msg i receive. any help there please?!
 
Back
Top Bottom