Difference between revisions of "Sony NTFS"

From Exploitee.rs
Jump to navigationJump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Add NTFS support on Sony GTV ==
{{Disclaimer}}
[[Category:Sony NSX-40GT1]]
[[Category:Sony]]
 
== Add NTFS support on Sony GTV - BETA! ==


Quick and dirty, but it works. Improve on it and let us know!
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:
Get these files from a Logitech Revue:
Line 13: Line 19:
*/usr/local/lib/libntfs-3g.so.38
*/usr/local/lib/libntfs-3g.so.38
*/system/bin/vold
*/system/bin/vold
'''Above NTFS files can be found ''' [http://www.filedropper.com/revuefileforsony here]


You could compile it yourself, a few of those are just symlinks, but again, quick and dirty!
You could compile it yourself, a few of those are just symlinks, but again, quick and dirty!
Line 20: Line 29:
Copy above files to the Sony GTV via adb in the same spots, overwrite vold.
Copy above files to the Sony GTV via adb in the same spots, overwrite vold.


Pull /etc/vold.conf, 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)
Push all files to the correct directories
<code>
: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/</code>
 
Set correct permissions
<code>
: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</code>
 
Create symlinks
<code>
: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</code>
 
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  
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!
Push back, reboot - enjoy NTFS!

Latest revision as of 01:43, 16 April 2012

"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."

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!