Jump to content


Photo

Possible to explore system partition via USB ?

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Emmepi

Emmepi

    Regular

  • Members
  • PipPip
  • 125 posts
Is it possible to send/remove files via USB, to write/read system partition from a computer, using WinSCP for example ?
Root explorer is fine, but i would prefer to do it from a PC...

Thx

  • 0

#2
stevenz

stevenz

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 473 posts
  • Gender:Male
  • Location:Wellington, New Zealand
  • Interests:Motorcycling
    Tinkering
  • Devices:OG Tab, Note, Touchpad, N7
  • Twitter:@KnightNZ

  • 0
Motorcycling watchmaker.

#3
persko

persko

    LinuxUser

  • Members
  • PipPip
  • 72 posts
  • Location:Copenhagen
  • Devices:HTC Desire
  • Twitter:@siliconfoot

Is it possible to send/remove files via USB, to write/read system partition from a computer, using WinSCP for example ?
Root explorer is fine, but i would prefer to do it from a PC...

Thx


Normally you cannot write to the system partition, as it is (and should be) mounted read-only, so before you
can write to the system partition you need to remount it read/write:

#adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

Then you can use adb to push and pull files to and from the device eg:

#adb push myapp.apk /system/app/
once you has finished writing to your system partition, you should remount it read-only for security reasons (protect your phone from bad behaving apps)

#adb shell mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system

If you still get problems writing to the /system partition, you need to do it via recovery mode.

(boot into recovery, and mount /system manually from adb)

Per

  • 0

#4
jaara

jaara

    Newbie

  • Members
  • Pip
  • 1 posts
I believe Root FTP Server would help you: http://waterdev.com/rftp

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users