Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-06-2009, 03:10 PM   #46
dclavey
ePub Junky
dclavey began at the beginning.
 
dclavey's Avatar
 
Posts: 65
Karma: 34
Join Date: Sep 2009
Location: Dunstable
Device: Black Sony Touch PRS-600, iPad
Quote:
Originally Posted by porkupan View Post
It's not the autorun.xml, it's the place where this file is. In PRS-600 the only autorun allowed is the autorun from /opt/sony/application/resources/test directory. That's all...
Why does the service manual, page 8, say :

Quote:
2. Make the new directly as “/Sony Reader/software” on the SD
memory card.
3. Make the new fi le as “/Sony Reader/software/Autorun.xml” on
the SD memory card.
Surely this suggests that it is possible to make an Autorun.xml on the SD card work?
dclavey is offline   Reply With Quote
Old 10-06-2009, 03:59 PM   #47
porkupan
Fanatic
porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.
 
porkupan's Avatar
 
Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
Quote:
Originally Posted by dclavey View Post
Surely this suggests that it is possible to make an Autorun.xml on the SD card work?
Well, does it say that the file has to be non-empty, or anything like that? This is pretty much all there has to be - a file. But this is not the file that's used to load the autorun scripts.
porkupan is offline   Reply With Quote
Advert
Old 10-06-2009, 04:21 PM   #48
dclavey
ePub Junky
dclavey began at the beginning.
 
dclavey's Avatar
 
Posts: 65
Karma: 34
Join Date: Sep 2009
Location: Dunstable
Device: Black Sony Touch PRS-600, iPad
Question

Quote:
Originally Posted by porkupan View Post
But this is not the file that's used to load the autorun scripts.
O sorry , I was under the impression that if you put a Autorun.xml and Autorun.js in the "special" directory "/Sony Reader/software" and inserted the SD Card in a 300, 500 or 505 Sony unit that the Javascript code would magically run...

And that the whole point of this Thread was to work out why a 600 (and 700 presumably) did not run the Javascript...

As I have only just bought a 600, and am a hacker, running Javascript sounded like fun, especially as my experiments to put 13,000 books on a 16 Gig fash drive failed, and I am looking to see if I can program my way around it. (It failed because it takes hours to re-index every time you remove the USB,see seperate thread) I am thinking I might be able to store my books in a blob on the flash drive and extract them when I want them.

Regarding Autorun.xml and Autorun.js in the "special" directory "/Sony Reader/software" Have I got it completely wrong?
dclavey is offline   Reply With Quote
Old 10-06-2009, 05:02 PM   #49
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
On the devices before PRS-600 a user-supplied autorun.xml gets loaded. On PRS-600, a user-supplied autorun.xml plus some buttons triggers loading of internal autorun.xml. The content of the user-supplied autorun.xml is completely ignored.
igorsk is offline   Reply With Quote
Old 10-06-2009, 05:15 PM   #50
dclavey
ePub Junky
dclavey began at the beginning.
 
dclavey's Avatar
 
Posts: 65
Karma: 34
Join Date: Sep 2009
Location: Dunstable
Device: Black Sony Touch PRS-600, iPad
Quote:
Originally Posted by igorsk View Post
On PRS-600, a user-supplied autorun.xml plus some buttons triggers loading of internal autorun.xml.
Got it, even had a look at the test menu in question, just a moment ago.

Do we suspect there is some other secret (undocumented) way of getting Javascript to run? Or that Sony have closed all the back doors other than hacking a firmware update itself?
dclavey is offline   Reply With Quote
Advert
Old 10-06-2009, 07:24 PM   #51
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
It seems they disabled external stuff quite completely.
igorsk is offline   Reply With Quote
Old 10-06-2009, 08:36 PM   #52
Darkstorm666
Junior Member
Darkstorm666 began at the beginning.
 
Darkstorm666's Avatar
 
Posts: 2
Karma: 10
Join Date: Oct 2009
Device: PRS-600
Quote:
Originally Posted by RyeBrye View Post
It doesn't seem to do anything with the CONTENTS of said xml file.

Anyone want to provide me with a dump of the firmware of the 600? Probably will need to use a serial console.

I'll need to pour over the image and see a few things. 1: what kind of encryption is used on the images. 2: what key is used to decrypt it 3: if there is something about the autorun.xml that needs to be done differently to run commands from it.

My wife won't let me take hers apart. If we want to wait until october to hack these things, I suppose I could get one too.
I have a PRS-600 Reader. But I have to say that it supports very little ebook formats.
It doesn't support the .LIT format. Isn't there someone here who can make the OS of the reader support .LIT. I'd be very grateful.

This website gives you the open source codes that they used in the PRS-600. http://www.sony.net/Products/Linux/

Darkstorm666
Darkstorm666 is offline   Reply With Quote
Old 10-06-2009, 09:39 PM   #53
kenmark
Addict
kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.kenmark ought to be getting tired of karma fortunes by now.
 
kenmark's Avatar
 
Posts: 204
Karma: 250000
Join Date: Jan 2009
Location: Great White North
Device: PRS-505
Quote:
Originally Posted by Darkstorm666 View Post
I have a PRS-600 Reader. But I have to say that it supports very little ebook formats.
The PRS-600 supports lrf lrx pdf ePub txt rtf (Plus doc & docx through eBook Library to rtf)
kenmark is offline   Reply With Quote
Old 10-07-2009, 04:47 AM   #54
dclavey
ePub Junky
dclavey began at the beginning.
 
dclavey's Avatar
 
Posts: 65
Karma: 34
Join Date: Sep 2009
Location: Dunstable
Device: Black Sony Touch PRS-600, iPad
Quote:
Originally Posted by Darkstorm666 View Post
It doesn't support the .LIT format.
Calibre seems to convert books in .LIT format to ePub format quite well. I have converted over 2000 books, and ePub is a very easy format to tweek after conversion.
dclavey is offline   Reply With Quote
Old 10-07-2009, 05:00 AM   #55
dclavey
ePub Junky
dclavey began at the beginning.
 
dclavey's Avatar
 
Posts: 65
Karma: 34
Join Date: Sep 2009
Location: Dunstable
Device: Black Sony Touch PRS-600, iPad
Question

Quote:
Originally Posted by igorsk View Post
It seems they disabled external stuff quite completely.
Surely we could (with some hacking effort) create a firmware update to simply put back functionality which will allow JavaScript to be called again from a flash drive? Could we not just patch the "Test" software routines so they call Autorun.xml on the flash card rather than the "/opt/sony/application/resources/test" directory

Regarding the 600 sources

■MAKEDEV-3.21-3.src.rpm
■busybox-1.9.1.tgz
■dosfstools-2.11.src.tar.gz
■freetype-2.1.10080414.tar.gz
■initscripts-8.31.6-1.src.rpm
■linux-2.6.23_090626.tgz
■linux-kernel-headers-2.6.13-1.src.rpm
■make-3.80-10.2.src.rpm
■modules_090626.tgz
■mtd-20050419-2.src.rpm
■nandboot_090626.tgz
■openssl-0.9.8j.tar.gz
■procps-3.2.6-3.5.src.rpm
■sourceryg++-4.2-28armeabi.src.rpm
■uClibc-0.9.29.tar.gz
■udev-106-4.src.rpm
■util-linux-2.13-0.20.4.src.rpm
■zlib-1.2.3-1.2.1.src.rpm

What tools can I use to look inside these sources? Which sources are the most interesting from a patching point of view?
dclavey is offline   Reply With Quote
Old 10-07-2009, 09:15 AM   #56
Justice Strike
Enthusiast
Justice Strike began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Sep 2009
Device: psr600
Quote:
Originally Posted by dclavey View Post
Surely we could (with some hacking effort) create a firmware update to simply put back functionality which will allow JavaScript to be called again from a flash drive? Could we not just patch the "Test" software routines so they call Autorun.xml on the flash card rather than the "/opt/sony/application/resources/test" directory

Regarding the 600 sources

■MAKEDEV-3.21-3.src.rpm
■busybox-1.9.1.tgz
■dosfstools-2.11.src.tar.gz
■freetype-2.1.10080414.tar.gz
■initscripts-8.31.6-1.src.rpm
■linux-2.6.23_090626.tgz
■linux-kernel-headers-2.6.13-1.src.rpm
■make-3.80-10.2.src.rpm
■modules_090626.tgz
■mtd-20050419-2.src.rpm
■nandboot_090626.tgz
■openssl-0.9.8j.tar.gz
■procps-3.2.6-3.5.src.rpm
■sourceryg++-4.2-28armeabi.src.rpm
■uClibc-0.9.29.tar.gz
■udev-106-4.src.rpm
■util-linux-2.13-0.20.4.src.rpm
■zlib-1.2.3-1.2.1.src.rpm

What tools can I use to look inside these sources? Which sources are the most interesting from a patching point of view?
rpm2cpio and cpio

Code:
rpm2cpio php-5.1.4-1.esp1.x86_64.rpm | cpio -idmv
but really... if you have to ask this question you really shouldn't be playing with this stuff.
Justice Strike is offline   Reply With Quote
Old 10-08-2009, 10:02 PM   #57
Darkstorm666
Junior Member
Darkstorm666 began at the beginning.
 
Darkstorm666's Avatar
 
Posts: 2
Karma: 10
Join Date: Oct 2009
Device: PRS-600
Even though I would like my reader to support .LIT format, I suppose that for now the best tool for conversion is indeed Calibre. Thank you, dclavey, for that excellent suggestion.
Darkstorm666 is offline   Reply With Quote
Old 10-09-2009, 01:28 AM   #58
RyeBrye
Member
RyeBrye began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2009
Device: PRS-600
Quote:
Originally Posted by dclavey View Post
Surely we could (with some hacking effort) create a firmware update to simply put back functionality which will allow JavaScript to be called again from a flash drive? Could we not just patch the "Test" software routines so they call Autorun.xml on the flash card rather than the "/opt/sony/application/resources/test" directory
Well... First - if we could hack the firmware update, why would we bother even screwing around with an autorun.xml? If you can hack the firmware update you have pwned the device and can have your way with it.

Second - the firmware updates are encrypted and we need to break the encryption key. This can be extracted from a full system dump, but we don't have one.

A possible third obstacle is that it looks to me like in addition to encrypting their updates, they also sign them. I'm not sure if there is a way to make the device accept an update that isn't signed by a key we certainly don't have and wont be able to get.

After getting a full system dump, we'll have to probably scour over it and try to find some kind of exploit... i.e. a vulnerability in the pdf reader or music player, or picture viewer, or something that will let you take a carefully crafted file and as a result execute code by exploiting it.

I'm not as much an expert with these devices as others, but from what I gather what we really need is a full system dump. - Not just a dump of the files, but an actual block-for-block copy of the flash memory (i.e. use dd to copy it at a low level to an .img file) and from there we can start to poke at it and go to town.
RyeBrye is offline   Reply With Quote
Old 10-15-2009, 05:51 AM   #59
itestl
Junior Member
itestl began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: sony!
Full dump NAND04GW3B is here: http://rapidshare.com/files/290174389/PRS_600_dump.zip
password - radugaif

I found this here: http://www.the-ebook.org/forum/viewtopic.php?t=12007
itestl is offline   Reply With Quote
Old 10-20-2009, 05:23 AM   #60
okalyddude
Enthusiast
okalyddude will become famous soon enoughokalyddude will become famous soon enoughokalyddude will become famous soon enoughokalyddude will become famous soon enoughokalyddude will become famous soon enoughokalyddude will become famous soon enough
 
Posts: 41
Karma: 602
Join Date: Oct 2009
Device: E600
Interesting, I did not realize how easy the 505 and other models were to hack, and I guess Sony is covering their tracks better.. I wish these companies did not worry so much about people hacking their devices. There needs to be more open source devices by design. Most of the hacks people make are simple and beneficial (like adding a clock, duh) So update, how's this looking for all you hacker people? I will likely order my 600 soon, and am curious what will be possible in the near future.
okalyddude is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacking PRS-505... SeNS Sony Reader Dev Corner 25 12-20-2011 11:12 PM
PRS-600 Any news about hacking the new sony readers (600/300)?? pikoman Sony Reader 5 10-07-2009 09:18 AM
PRS-505 Hacking Guides SurgE Sony Reader Dev Corner 2 08-13-2008 08:54 PM


All times are GMT -4. The time now is 08:46 PM.


MobileRead.com is a privately owned, operated and funded community.