Showing posts with label iphone. Show all posts
Showing posts with label iphone. Show all posts

Tuesday, 2 December 2008

iphone 安装 wedict

stardict主页中文字典
http://stardict.sourceforge.net/Dictionaries_zh_CN.php星际译王的巴比伦词库 http://reciteword.sourceforge.net/stardict/babylon.php
StarDict Lingvo Dictionaries http://reciteword.sourceforge.net/stardict/lingvo.php
金山词霸词库http://reciteword.sourceforge.net/stardict/powerword.php
下载tarball包,用7-zip解压,然后把dict.dz改为dict.gz再用7-zip解压,得到dict文件,然后把dict 和idx这两个文件拷到~/Library/weDict 即1.1.3为/var/mobile/Library/weDict 1.1.3以前为/var/root/Library/weDict/
安装正常后,应该为同名的两个文件 dict和idx,运行后会生成第三个同名文件idxc. 如果没有这个目录,而是在Library下有一个 weDict文件的话,请删除这个文件,重新安装。
推荐手动安装,使用winscp(windows)或 fugu(mac).

5.真人发音如何安装?

下载地址为:http://prdownloads.sourceforge.n … TS.tar.bz2?download
安装路径为 ~/Library/weDict下载后将解压好的 WyabdcRealPeopleTTS目录通过winscp(windows)或fugu(mac)上传到安装目录。
只支持单词发音,不支持词组发音。没有声音的话,请确认手机不是在振动模式。

6. 1.0.2运行不了v0.8?

从目前情况来看,好像是运行不了,我的版本的是1.1.1,没有在102上测 。哪位老大愿意帮忙测一下的话,按以下步骤,把错误信息发给我。
6.1 iphone安装好openssh,weDict 0.8及相应字典。
6.2 putty联接到iphone运行如下命令:cd /Applications/weDict.app
./weDict
6.3 把错误信息发给我laoren@office.weiphone.com

7. 1.1.3查本地单词死机?

不是死机,是因为权限的问题。用ziphone破解的1.1.3后安装的installer的所有者还是root,所以建立的 /var/mobile/Library/weDict的目录仍为 root所有,而weDict用户权限为mobile, 当查询时,因为权限问题,没有办法建立缓存文件,所以很慢。解决办法:chown -R mobile:mobile /var/mobile/Library/weDict
可以用putty联上运行,也可以在iphone上安装mobileTerminal运行。

Monday, 21 April 2008

iphone passwd change from alpine to anything

passwd, this command not work properly in iphone (currently 1.1.4), it will cause endless loop, you must restore the system using itune. So this is the way how to change it.

Login to your iPhone using SSH, or use the Terminal Application, type vi /etc/master.passwd, and look for this line :

root:YOUROUTPUTHERE:0:0::0:0:System Administrator:/var/root:/bin/sh

Replace the content immediately after the root: with the output from that command we used early on. Done, password changed.
Maybe do the same for the mobile User, which is also a line in the same file.

NOTE:
Someone mailed me and stated that the above method did not work for him at all. Quite the opposite, he had to reinstall his Firmware again. Annoying. According to him, the
following snipped to generate the Password Hash worked fine.

openssl passwd -crypt -salt /s myNewPasswd

Personally right now i don’t have another iPhone to try this on, but i think i should still mention his method here.


from: http://www.overridersworld.com/?p=74
=================================

Some discussion:
Before I tested your method I wanted to make sure the output with the default pw ‘alpine’ would be equal to the crypted pw in mast.passwd.

master.passwd: /smx7MYTQIi2M

Perl method:
perl -e ‘print crypt(”alpine”, “XX”).”\n”‘
XXCLVpuFl/zmI

hmm…

OpenSSL method:
openssl passwd -crypt -salt /s djsr71bb
/smx7MYTQIi2M

So the OpenSSL provided the correct output.
I have now changed the pw to my own pw and everything works fine.
So I guess the perl method would not have worked with me.

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter