weTool fix....

Jun 7, 2007
545
0
16
Queens, NY
#1
after searching i came up on this...can anyone explain how to do this...i have winscp......on a 1.1.3 ziPhone jailbreak..

i don't know termial or anything too well...so an explaintion will help....if you can try this and confirmt that would be great....it says create a symbolic llinks...how?:mad:
weTool


This application will access the follow folders:
/var/root/Library/AddressBook
/var/root/Library/CallHistory
/var/root/Library/SMS
In case the folders do not exist, it fails quietly. So the general fix isn’t sufficient yet.

To make it work, create two symbolic links (link to AddressBook has been setup by jailbreak) as shown below:
ln -s /var/mobile/Library/CallHistory /var/root/Library/.
ln -s /var/mobile/Library/SMS /var/root/Library/.
The above symbolic links link the folder to your call history and sms folders stored in mobile account.
 
Jun 7, 2007
545
0
16
Queens, NY
#2
i keep trying this out and it keeps telling me that file already exist...but wetool still does not work....
i just believe wetool has to point to the addressbook in order for it to function. can anyone help?
 

mobilehavoc

New Member
Bronze
Jul 12, 2007
156
0
0
#3
after searching i came up on this...can anyone explain how to do this...i have winscp......on a 1.1.3 ziPhone jailbreak..

i don't know termial or anything too well...so an explaintion will help....if you can try this and confirmt that would be great....it says create a symbolic llinks...how?:mad:
weTool


This application will access the follow folders:
/var/root/Library/AddressBook
/var/root/Library/CallHistory
/var/root/Library/SMS
In case the folders do not exist, it fails quietly. So the general fix isn’t sufficient yet.

To make it work, create two symbolic links (link to AddressBook has been setup by jailbreak) as shown below:
ln -s /var/mobile/Library/CallHistory /var/root/Library/.
ln -s /var/mobile/Library/SMS /var/root/Library/.
The above symbolic links link the folder to your call history and sms folders stored in mobile account.
Shouldn't the commands be:
ln -s /var/mobile/Library/CallHistory /var/root/Library/CallHistory
ln -s /var/mobile/Library/SMS /var/root/Library/SMS
 

Tinman

Evangelist
Gold
Jul 16, 2007
4,334
183
63
Aridzona
#4
i keep trying this out and it keeps telling me that file already exist...but wetool still does not work....
i just believe wetool has to point to the addressbook in order for it to function. can anyone help?
For starters you need to delete the following folders, should they exist (pay CLOSE attention to their location--they are in /var/root):

/var/root/Library/AddressBook/
/var/root/Library/CallHistory/
/var/root/Library/SMS/


Then execute the following commands:
ln -s /var/mobile/Library/AddressBook /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/
ln -s /var/mobile/Library/SMS/var/root/Library/

Then WeTool, or at least WeTool-US (in my case), should work.



--
Mike
 
Jun 7, 2007
545
0
16
Queens, NY
#5
For starters you need to delete the following folders, should they exist (pay CLOSE attention to their location--they are in /var/root):

/var/root/Library/AddressBook/
/var/root/Library/CallHistory/
/var/root/Library/SMS/


Then execute the following commands:
ln -s /var/mobile/Library/AddressBook /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/

Then WeTool, or at least WeTool-US (in my case), should work.



--
Mike
thanks tinman....i will try this and let you know the result....
question, isn't this a problem with third party apps not having full permission to run or something of that sort...?
 
Jun 7, 2007
545
0
16
Queens, NY
#7
For starters you need to delete the following folders, should they exist (pay CLOSE attention to their location--they are in /var/root):

/var/root/Library/AddressBook/
/var/root/Library/CallHistory/
/var/root/Library/SMS/


Then execute the following commands:
ln -s /var/mobile/Library/AddressBook /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/

Then WeTool, or at least WeTool-US (in my case), should work.



--
Mike
ok mike, thanks for the help, now pass on the good news cause it worked...but the last line....
ln -s /var/mobile/Library/CallHistory /var/root/Library/
should be
ln -s /var/mobile/Library/SMS /var/root/Library/
and then wetools-us worked perfectly...good job tinman

ps....this also makes CallD works.......2 for one sale.....
 

todesto

New Member
Bronze
Sep 30, 2007
59
0
0
#8
OMG
it works!
Thank you. Thank you.
 

Tinman

Evangelist
Gold
Jul 16, 2007
4,334
183
63
Aridzona
#9
ok mike, thanks for the help, now pass on the good news cause it worked...but the last line....
ln -s /var/mobile/Library/CallHistory /var/root/Library/
should be
ln -s /var/mobile/Library/SMS /var/root/Library/
and then wetools-us worked perfectly...good job tinman

ps....this also makes CallD works.......2 for one sale.....
Glad it worked. yes, the SMS was a typo. Wait, not a typo: I didn't wanna give you all the clues... yes, that's it! ;)



--
Mike
 

Griffinaz

Zealot
Gold
Oct 5, 2007
1,046
13
38
Phoenix, Arizona
#10
This works to make the program work as far as opening and displaying the SMS's and calls but has anyone got it to work to delete a single message (SMS)? When I try it shuts the program down.
 

Tinman

Evangelist
Gold
Jul 16, 2007
4,334
183
63
Aridzona
#11
This works to make the program work as far as opening and displaying the SMS's and calls but has anyone got it to work to delete a single message (SMS)? When I try it shuts the program down.
yes that happens to me too. Call history allows deletions though.

My guess is that due to the SMS change for multiple recipients the database changed and weTool doesn't now how to deal with it. Doesn't seem to be a permissions issue.


--
Mike
 

Griffinaz

Zealot
Gold
Oct 5, 2007
1,046
13
38
Phoenix, Arizona
#12
Thanks Mike. The call deletion works perfectly (after your fix). Too bad about the SMS but I rarely get them anyway.
 

Tinman

Evangelist
Gold
Jul 16, 2007
4,334
183
63
Aridzona
#13
BTW: The first symlinks did not include Notes.

Here are the commands to do it all, including deleting any extraneous files in root beforehand:

rm -r /var/root/Library/AddressBook/
rm -r /var/root/Library/CallHistory/
rm -r /var/root/Library/Notes/
rm -r /var/root/Library/SMS/

ln -s /var/mobile/Library/AddressBook /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/
ln -s /var/mobile/Library/Notes /var/root/Library/
ln -s /var/mobile/Library/SMS /var/root/Library/



Without symlinking Notes you won't be able to save to SMS's to Notes.


--
Mike
 

Xphoid

New Member
Feb 18, 2008
6
0
1
#14
OK I DID IT! Thanks Tinman
I will appreciate if you have any other useful tips that we can use with 1.1.3..


may be my question will be ridiculous to you but unfortunately i don't have any clue to do the written below...
but my best guess is i will do it either from term vt100 on iPhone or from SSH Secure Shell client on pc... am i right?!

and do i need to do anything else besides this like deleting or copying any files throgh winSCP or iPhone Browser?

BTW: The first symlinks did not include Notes.

Here are the commands to do it all, including deleting any extraneous files in root beforehand:

rm -r /var/root/Library/AddressBook/
rm -r /var/root/Library/CallHistory/
rm -r /var/root/Library/Notes/
rm -r /var/root/Library/SMS/

ln -s /var/mobile/Library/AddressBook /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/
ln -s /var/mobile/Library/Notes /var/root/Library/
ln -s /var/mobile/Library/SMS /var/root/Library/



Without symlinking Notes you won't be able to save to SMS's to Notes.


--
Mike
 

gordonsir

New Member
Feb 23, 2008
1
0
0
#15
thank Tinman!
but it can work now, but my problem is, it can delete the CallHistory only but not SMS!
when I select one of the SMS and press delete, it jump to spring broad and do nothing!
do you know what's happen?
how I can fix it?
I am now using 1.1.3 (BL 3.9)
Thank for your help

rm -r /var/root/Library/AddressBook/
rm -r /var/root/Library/CallHistory/
rm -r /var/root/Library/Notes/
rm -r /var/root/Library/SMS/

ln -s /var/mobile/Library/AddressBook /var/root/Library/
ln -s /var/mobile/Library/CallHistory /var/root/Library/
ln -s /var/mobile/Library/Notes /var/root/Library/
ln -s /var/mobile/Library/SMS /var/root/Library/
 

pkkaiser

New Member
Jul 10, 2007
2
0
0
#16
So I finally figured this out. For newbies, here it is:

1. you need to get your iPhone's IP: goto settings -> Wi-Fi -> click blue arrow and copy down IP Address (this has to be done when the iPhone is connected to a WiFi network)
2. Install OpenSSH and BSD using Installer app

3. On your Mac, start up the Terminal program (make sure Wi-Fi is on)
4. enter ssh root@IPADDRESSOFYOURiPhone
5. it will ask for a password = alpine
6. then the symbol changes and you are in your iPhone
7. enter the commands above and weTools, CallID etc all work!

Thanks to everyone who figured this out...you rock!
 

justahsquirrel

Member
Silver
Jun 7, 2007
545
0
16
Queens, NY
#17
So I finally figured this out. For newbies, here it is:

1. you need to get your iPhone's IP: goto settings -> Wi-Fi -> click blue arrow and copy down IP Address (this has to be done when the iPhone is connected to a WiFi network)
2. Install OpenSSH and BSD using Installer app

3. On your Mac, start up the Terminal program (make sure Wi-Fi is on)
4. enter ssh root@IPADDRESSOFYOURiPhone
5. it will ask for a password = alpine
6. then the symbol changes and you are in your iPhone
7. enter the commands above and weTools, CallID etc all work!

Thanks to everyone who figured this out...you rock!
dude, i was just about to reply to you about that..lol...glad you got it working. that was the first program I worked on to get working....most important to me.
 

Lukin

New Member
Mar 11, 2008
1
0
0
#18
Still Learning!

So I finally figured this out. For newbies, here it is:

1. you need to get your iPhone's IP: goto settings -> Wi-Fi -> click blue arrow and copy down IP Address (this has to be done when the iPhone is connected to a WiFi network)
2. Install OpenSSH and BSD using Installer app

3. On your Mac, start up the Terminal program (make sure Wi-Fi is on)
4. enter ssh root@IPADDRESSOFYOURiPhone
5. it will ask for a password = alpine
6. then the symbol changes and you are in your iPhone
7. enter the commands above and weTools, CallID etc all work!

Thanks to everyone who figured this out...you rock!
You Guys have been of great help ,, but excuse my ignorance. I have followed every step until the 3rd one, not sure what u mean by start up my terminal program and were or how do i get to enter the ssh root. Any help would be greatly appreciated. Thanks in advance