Biinngg / iphoneebooks

Automatically exported from code.google.com/p/iphoneebooks
GNU General Public License v2.0
0 stars 0 forks source link

Where to load books in 1.1.3? #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With new firmware 1.1.3. file structure appears to have changed.  The ebook
reader is no longer finding books in the Media/ebooks directory.

Original issue reported on code.google.com by CubsFa...@gmail.com on 28 Jan 2008 at 5:25

GoogleCodeExporter commented 9 years ago
I've tried both /private/var/root/Media/EBooks/ and 
/private/var/mobile/Media/EBooks without any luck. 
I can't remember if 1.1.2 was the same way, but /var is now a symlink to 
/private/var/. It looks like Apple is 
intending for a more multi-user feel with this firmware, having system things 
under root, and user 
information under mobile.

Original comment by smil...@gmail.com on 28 Jan 2008 at 8:51

GoogleCodeExporter commented 9 years ago
Simply install the books app, download a book through installer (ie : Hidden 
Layer).
 Then SSH into the iPod and look for the directory.  You can copy books in there.

Original comment by brendan....@gmail.com on 30 Jan 2008 at 9:47

GoogleCodeExporter commented 9 years ago
Brendan, 

That procedure works fine on iPhone firmware 1.1.2 and earlier, but the current
version of Books (1.3.7) doesn't load the books correctly on firmware 1.1.3.
Presumably the location that books *should* be installed into has moved. Until 
the
eBooks available through Installer are updated, and more importantly, Books.app 
is
updated we can't load books on 1.1.3.

Original comment by smil...@gmail.com on 31 Jan 2008 at 5:32

GoogleCodeExporter commented 9 years ago
the path to look into is hardcoded to /var/root/Media/EBooks
in the code.
Is this path accessible in 1.1.3?  If not I could build a version with another 
path

Original comment by benoitce...@gmail.com on 1 Feb 2008 at 4:29

GoogleCodeExporter commented 9 years ago
you could try this version.  It has diverse improvements (landscape mode, some
bugfixes)+ I have changed the path of EBooks to ~/Media/EBooks
I guess that in 1.1.3 it is /private/var/mobile

Original comment by benoitce...@gmail.com on 1 Feb 2008 at 4:35

Attachments:

GoogleCodeExporter commented 9 years ago
Hey - this version works, sort of. I copied the new files into the Books.app 
bundle
to install them. Now, I can use the "back" button to navigate up to other 
folders
than the EBooks one. (Can't honestly remember if this was in previous versions, 
but
this is the first I've noticed it). The program started out in
/var/root/Media/Ebooks, but allowed me to navigate to the correct location and 
open
my books!

Landscape mode is buggy for me. After swapping to / from this mode I have to 
wait for
~20 seconds before my phone becomes responsive again. Nothing displays int the 
book
text area, I have to back out to the chapter selection list and select a 
chapter to
bring the content back.

Also, the rightmost third of the text on my screen is blank in landscape mode. 
The
text is being layed out on the full width of the screen, but that rightmost 
third is
being erased / covered / never drawn, so landscape mode is completely unusable 
in
this version. There are also graphic glitches in the preferences section - 
usually
horizontal lines of random colored pixels at the baseline of where text would 
be in a
cell.

Portrait mode works well however, and I can now access my books! Thank You!

Original comment by smil...@gmail.com on 2 Feb 2008 at 7:04

GoogleCodeExporter commented 9 years ago
Hello,
few points about the landscape mode: 

1) I don't have a 1.1.3 iphone I am still at 1.1.2 the reason is that although 
the
upgrade and jailbreak are simple enough, without google location it is not so 
usefull
I understand one ought to first upgrade normally to 1.1.3 then downgrate then
reupgrade but the only guide I found for the downgrade is quite complex
2) in 1.1.2 the landscape mode works (I use it everyday) it is normal you have 
to
wait as to get it to redraw the whole chapter is reloaded.  It should display
directly in landscape.  I have some glitches ( a red or white dashed line on the
right side of the screen every 2 screens or so) they are not too much of a 
bother but
until I find what creates them probably that 1.1.3 will not work with this 
function.
I also have the same glitches in the pref view.  Unfortunately today I don't 
know how
to remove them.
3) you are not supposed to be able to go above "the right location" but this 
check is
done by comparing your current path with the "EBOOK_PATH" this is normally
/var/root/Media/EBooks, in the version I sent it is ~/Media/EBooks  I am not 
sure how
and if the ~ is interpreted though.  I have run in a bug where I went up higher 
than
/ (not possible to happen but it did) and I got stuck with a browser showing no 
file
and no down directory.  I solved that by removing the preference file (thus 
loosing
my current reading location).  Be carefull with that, if you want to avoid it I 
can
send you a version which will have the mobile user Media/EBooks path (should be
/var/mobile but you'll have to confirm that to me

Original comment by benoitce...@gmail.com on 2 Feb 2008 at 7:30

GoogleCodeExporter commented 9 years ago
here is a much improved version. Except I am not sure that it will work with 
1.1.3 as
the root of the book directory is back to /var/root/Media/EBooks.
I suspect that if you navigated to a place which worked once then you'll be 
fine.
Can you tell me if it fixes some of your 1.1.3 problems

Original comment by benoitce...@gmail.com on 3 Feb 2008 at 4:41

Attachments:

GoogleCodeExporter commented 9 years ago
Finally got a version which should work fine, tested on 1.1.2 under root and 
mobile user

Original comment by benoitce...@gmail.com on 3 Feb 2008 at 2:51

Attachments:

GoogleCodeExporter commented 9 years ago
Still using the first version posted to this issue. I had to restart my iPhone 
(froze up) and afterword Books no 
longer found my ebook directory, and I can't navigate "up" anymore. I'll try 
the more recent version you've 
posted when I get home from work later today.

Original comment by smil...@gmail.com on 7 Feb 2008 at 12:06

GoogleCodeExporter commented 9 years ago
Okay - now using the latest version of Books.app posted to this issue 
discussion.

Initially Books.app was getting stuck at a completely blank screen immediately 
after
launch (only thing showing was the status bar at the top of the screen.)  I 
fixed
this by removing the preferences .plist file. 

Now Books.app finds my books in the right place. Horizontal reading works, with 
a
couple of graphic glitches - the horizontal lines discussed above I do see in 
the
book as well as preference windows. When reading horizontally, with chapter
navigation arrows on, but page nav arrows off, the chapter nav arrows do not 
shift
all the way to the right of the screen. The menus for book / chapter selection 
do not
take up the whole width of the screen.

Thank you for the quick work!

Original comment by smil...@gmail.com on 7 Feb 2008 at 3:43

GoogleCodeExporter commented 9 years ago
Yes I know about the graphic glitches but I have no idea what could cause them

Original comment by benoitce...@gmail.com on 7 Feb 2008 at 5:06

GoogleCodeExporter commented 9 years ago
see issue 81 I have uploaded a version with no graphic glitch

Original comment by benoitce...@gmail.com on 11 Feb 2008 at 2:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same issues here, I tried the fixes on this page but still no-go.... it cant 
find 
the eBooks    1.1.3

Original comment by lith...@gmail.com on 11 Feb 2008 at 8:43

GoogleCodeExporter commented 9 years ago
hello,
as I don't yet have 113 it is a bit hard for me. However I may update today  
few questions: 
1) where did you put the books? They should be in /var/mobile/Media/EBooks
2) did you erase your preferences, you may have to

Original comment by benoitce...@gmail.com on 11 Feb 2008 at 11:54

GoogleCodeExporter commented 9 years ago
So is there a good working way to read ebooks with books? Im running 1.1.3

Original comment by coolthin...@gmail.com on 14 Feb 2008 at 7:08

GoogleCodeExporter commented 9 years ago
Using latest binary from issue81, make sure you have the case correctly on 
paths.

It should be
/private/var/mobile/Media/EBooks

I had Ebooks and it didn't work.

Original comment by cfazz...@gmail.com on 15 Feb 2008 at 7:52

GoogleCodeExporter commented 9 years ago
Fixed in 1.4-pre01

Original comment by pendorbo...@gmail.com on 17 Feb 2008 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by pendorbo...@gmail.com on 17 Feb 2008 at 6:10