View Single Post
Old 12-15-2009, 04:39 PM   #82
dieterpops
Addict
dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.dieterpops can bend spoons with a thought.
 
Posts: 261
Karma: 134567
Join Date: Nov 2008
Device: Always in flux
Quote:
Originally Posted by pepak View Post
How to combine PRS Customizer and Books By Folder

1) Install PRS Customizer, prepare all your customizations and copy them to your SD card.

2) Edit file (SD Card)/files.505.1.1.00.18040/opt/sony/ebook/application/resources/applicationStart.xml (replace the first part of the path according to your reader's firmware version).

3) Near the end of the file you will see this code:
Code:
		<function id="initialized">
			USBDispatcher.doRegister(this.getWindow())
			this.getDevice().doProcessed(100);
			this.getDevice().enableBlueLED(true);
		</function>
4) Replace that code with this (stolen/lifted/adapted from kartu's excellent work):
Code:
		<function id="initialized">
			USBDispatcher.doRegister(this.getWindow())
			this.getDevice().doProcessed(100);
			this.getDevice().enableBlueLED(true);
			try {
				var path = "/Data/autorun.js";
				if(FileSystem.getFileInfo(path)) {
					var f = new Stream.File(path);
					try {
						var fn = new Function("target", f.toString(), path, 1);
						fn(this);
					} finally {
						f.close();
					}
				}
			} catch(ignore) {
			}
		</function>
5) Copy autorun.js and the folder addons and its contents from Kartu's Book By Folder ZIP file to the root of your reader's internal memory.

6) Continue flashing as you would with PRS Customizer (boot with SD card inserted, choose "5) Make a new image", then "6) Flash the image")

7) Reboot and you are done!

Sorry for not being techincal enough...can you elaborate on exactly where the "root" of the reader is? Not sure where to copy all of the files from Kartu.
dieterpops is offline   Reply With Quote