I've just "restored" my iPod Touch 2nd gen to firmware 3.1.3, then jailbroke with redsn0w 0.9.4 on Windows 7. I'm happy to report that wiki2touch still works on fw 3.1.3.
I tried transferring articles.bin using iPhone Browser 1.93 and it only managed 777 MB in 12 minutes (if you do the math, this would come to about 1 h 20 min for 5.4 GB), so I quit and use iPhone Folders again (took about 9 minutes total for 5.4 GB).
Regarding jailbreaking firmware 3.1.3, as of today, it's been reported that only iPhone 2G, iPod Touch 1G, iPod Touch 2G (non-MC models) and iPhone 3G can be jailbroken, although there is no unlock for iPhone 3G if you upgrade to 3.1.3. Other devices (iPhone 3GS, iPod Touch 2G (MC-models) and iPod Touch 3G will have to wait for new jailbreak/unlock tools.
Propz to djpav and other members. Some problems I encountered and fixed that may be of help to you.
Tested on Product: Firmware 3.1.2/Blackra1n/ 3gs
Followed djpav's steps closely. Used WinSCP for file transfer (much slower than iPhoneBrowser, but works around afc2add issue if you use Blackra1n)
Troubleshooting in addition to djpav's steps:
Step 1: Install Wiki2Touch SBSetting Toggle and Wiki2Touch Server first.
Step 2: Must rename the wikisrvd-0.1.20091028.deb file to wikisrvd.deb
Step 3: Run in MobileTerminal, which installs and overwrites existing limit of file size.
Errors in MobileTerminal --> "dpkg is locked" = run jailbreak.
"dpkg error" = go through Steps again and make sure the wikisrvd file is named wikisrvd.deb and is in the same location. Wiki2Touch Toggle was off, I think.
Step 4: Restart and Respring.
Step 5: **Critical** Ignore the Wiki2Touch Server Update from Cydia/Rock. I believe it messes up the previous steps. Else, if you updated just redo all prior steps.
-Optional, once the article.bin file is correctly indexed and put into the .../Media/Wikipedia/en it's not necessary to restart that file transfer process if you need to redo the steps. Unless you're sure that that is the issue (because transfer takes up time), I suggest troubleshooting everything else before starting that again.
*Note these are safety measures that worked for me. I noticed that the upgrade in Step 5 was the issue. Personally, I'm not touching the Wiki2Touch Toggle or Wiki2Touch Server (i.e. modifying or updating while everything is working)
Cydia prompting update
Great solution djpav and tjblack!
However, there is an annoyance issue...in which cydia will prompt you to upgrade (downgrade for IPSW 3.0+ user) to wikisvrd 1.0.317...
Is there anyway around this beside modifying the status file in \var_lib\lib\dpkg?
I edited the status file and put 1.0.318 under version for wikisvrd but it created other errors when i install other apps on cydia.
I tried editing the control file to change the version number too but since i am using a windows system, there is no way for me to repackage the deb...
wonder if anyone can advise on a workaround?
Simply amazing! Thank you, thank you, thank you djpav! Worked flawlessly!
I just wanted to thank you for the instructions and additional post my experiences:
The initial problem is that on my iPhone 3G custom-fw 3.2.1 the SBSettings-wiki2touch toggle-switch is not working (when I tap it, it turns green, when I reopen SBSettings it is red again, additional the button has no icon but only the text "wiki2touch").
Somewhere else I read that installing BossPrefs would fix this behaviour of SBSettings, however - it did not. Nevertheless I now can control wiki2touch over BossPrefs and the BossPrefs wiki2touch toggle-switch, which is fine for me.
The problem now was, that uninstalling the wiki2touch-server also uninstalls the BossPrefs-switch, which then would be missing after manually installing the wiki2touch-server via the provided *.deb-file of djpav.
Installing the bossprefs wiki2touch toggle-switch only also is not possible - if you try to install the bossprefs-switch it automatically installs the cydia-version of wiki2touch, as it is dependent from it.
Updating the wiki2touch-server with the *.deb of djpav leaving the old wiki2touch installed also wasn't possible as dpkg throws some errors about it being an outdated version.
So basically I found myself trapped in a doom loop of neither being able to uninstall nor to update wiki2touch-server.
I then searched the internet on how to enforce dpkg of installing older packets and after I installed the *.deb via "dpkg -i --force-downgrade --force-conflicts wikisrvd.deb" everything worked like a charm.
--force-downgrade tells dpkg that it should install the .deb despite it assumes it's an older version,
--force-conflicts tells dpkg that it should install the .deb despite that the bossprefs-wiki-toggle is dependent on it.
^^maybe that's useful for someone...
oh btw: when first reading this thread I asked myself why I should install the wiki2touch-version out of this thread, as in cydia there was written that the cydia-version already would support files bigger then 4GB, however - it did not (my english wikipedia wouldnt open when I typed in a search-term with the cydia-version of wiki2touch).
So another time thanks for the provided *.deb, although the way you described didnt work for me it still was a great help!
I also would be interested in how to tell cydia to not update wiki2touch to the cydia-version, so anyone who gots hints on this one: gimme gimme ;)
I registered an account here just to say thank you for this wonderful post.
A couple notes:
- I have an iPod touch 3rd gen (newest version as of early 2010), I'm running blackra1n (requires tethered booting for my hardware) and 3.1.2
- Your instructions were perfect and I got this up and working first try.
- This is way, way better than the Encyclopedia app. Their app costs almost $10 on the AppStore from some company called Steam Heavy, it has a very clunky and terrible interface, and only has a 2007 wikipedia dump available (i.e. when Sarah Palin was announced as a potential running mate to John McCain).
- Since this uses Safari, the interface is extremely smooth and I really love it.
- The Mobile Terminal app did not come up on a search in Cydia. Just so people are aware, its name is actually MobileTerminal .... ;)
- FYI on times: the ~5gig download took a couple hours, the indexing conversion took about an hour, and the copying to iPod took only 10 minutes for me (using iPhone Folders software). Running Windows 7 32bit.
Now, I have a working, offline wikipedia on my iPod touch. Well worth the work, and again, I commend you for this fine post.
That's a very astonishing guide!! I've found it useful and I'm running Wikipedia on my iPod, thank you!!
But I've got a question.. One of the most useful aspects of Wikipedia is, in my opinion, the table on the upper right of the page. I thought it couldn't be reproduced using wiki2touch, but instead I've found some screenshots from the older versions in which there was a switch for turning on and off the so-called templates and also the tables I mean. So I was wondering if there were any chance of seing this feature on the current version. I've tried looking for some settings file with iFile, since there is no settings screen anymore but I haven't found anything useful.
Can someone solve this problem?
@joefahn: First, thank you for your kind words regarding the guide. You are correct that in earlier (stand-alone) versions of wiki2touch, there was a switch which enabled the viewing of templates such as the summary table that is frequently listed on the right-hand side of various articles. While this was useful, it made wiki2touch to load excruciatingly slow, and I seldom used it myself. It was nonetheless a useful feature that did not carry out in the newer (non stand-alone) wiki2touch versions, and I am not sure if anyone is working on it.
Originally Posted by joefahn
On a related note, there is a program in the appstore called Wikipanion, which allows for saving individual articles to your iphone for later, offline viewing. This program has an excellent interface and is able to show these right-hand side templates, as well as display mathematical formulas which wiki2touch lacks ( even though it was supposed to be able to do so at some point - never worked properly for me).
Now, if we could get the author of Wikipanion to let us process the entire ~5.9GB .bz2 file so that it could be read by his software that would be the best of both worlds...
Getting pack.exe to work
Hello djpav, firstly excellent guide! because of it, I was able to put wikipedia on my ipod touch. After doing this, I wanted the images. So, I used imagegetter.exe. However, it created a folder "Images" that contained subfolders "en" and "commons" . Both of these folders contained images, but there was no image.bin file. So, using command prompt, I tried to run "pack.exe," but get the following:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Wiki2Touch (image) file composer
Copyright (c) 2008 T. Haukap
pack [-c] [-s max_size] language_code directory
language_code: Two character language code (i.e. 'en', 'de')
directory: a folder where the images to pack are stored
-s max_size: if an image is larger it will be skipped
-c: build no destination file but count only the size it will
How do I use this? I don't understnad what it says. Please help in creating the images.bin.
Well, it sounds like you are just running the line-command pack.exe without using any of the required parameters so you are only getting the help file as a result.
Originally Posted by pereirdp
Now, I have never done this on my iphone (as I do not have nearly enough space for the images - mine is the 8gb 2g model), but just put the pack.exe program on the root C: drive and make sure the pictures folder is located in C:\images. Open a command prompt window (run as administrator), type cd\ and hit enter to go to the root c: drive, and then execute the following command:
Let us know if this works