Sony NTFS

From GTVHacker
Jump to: navigation, search

Although the information we release has been verified and shown to work to the best our knowledge, we cant be held accountable for bricked devices or roots gone wrong. GTV_Hacker:General_disclaimer

Add NTFS support on Sony GTV - BETA!

Quick and dirty, but it works. Improve on it and let us know!

Of course, this only works on a "Rebooted" (rooted) box

Get these files from a Logitech Revue:

  • /usr/local/bin/ntfs-3g
  • /usr/local/bin/ntfs-3g.probe
  • /usr/local/lib/libntfs-3g.a
  • /usr/local/lib/libntfs-3g.so
  • /usr/local/lib/libntfs-3g.so.38.0.0
  • /usr/local/lib/libntfs-3g.la
  • /usr/local/lib/libntfs-3g.so.38
  • /system/bin/vold


Above NTFS files can be found here

You could compile it yourself, a few of those are just symlinks, but again, quick and dirty!

Quick way of doing it:

Copy above files to the Sony GTV via adb in the same spots, overwrite vold.

Push all files to the correct directories

adb push ntfs-3g /usr/local/bin/
adb push ntfs-3g.probe /usr/local/bin/
adb push libntfs-3g.a /usr/local/lib/
adb push libntfs-3g.la /usr/local/lib/
adb push libntfs-3g.so.38.0.0 /usr/local/lib/
adb push vold /system/bin/

Set correct permissions

adb shell chmod 755 /usr/local/bin/ntfs-3g
adb shell chmod 755 /usr/local/bin/ntfs-3g.probe
adb shell chmod 755 /usr/local/lib/libntfs-3g.la
adb shell chmod 755 /usr/local/lib/libntfs-3g.so.38.0.0
adb shell chmod 644 /usr/local/lib/libntfs-3g.a
adb shell chmod 755 /system/bin/vold
adb shell chown root.shell /system/bin/vold

Create symlinks

sudo adb shell ln -s /usr/local/lib/libntfs-3g.so.38.0.0 /usr/local/lib/libntfs-3g.so
sudo adb shell ln -s /usr/local/lib/libntfs-3g.so.38.0.0 /usr/local/lib/libntfs-3g.so.38

Pull /etc/vold.fstab, alter the media_mount line to look like this (if someone wants to fix it, go ahead, with the original line it mounts too much)

media_mount usb /mnt/media/usb 5 /devices/pci0000:00/0000:00:01.0/0000:01:0d.0/usb1/1-1/1-1.1

Push back, reboot - enjoy NTFS!