Reply
Thread Tools
Posts: 27 | Thanked: 2 times | Joined on Feb 2012 @ Lebanon
#121
Originally Posted by Wreck View Post
Editing the prefs.xml worked for me. I am able to log-in properly and add contacts. Little question. The contacts don't need the country code do they?

What I did on the n900:

Step 1: Installed the Oracle JRE : http://uppit.com/p1glvshnvgn6/oracle...e-1.6.0u30.deb

Step 2: Installed WhatsApp : http://uppit.com/t79j5q219iux/whatsa...0.0.4alpha.deb

Step 3: Opened up whatsapp.

Step 4: Filled in the details. (Phone number + IMEI code)

Step 5: Got an sms with my activation number

Step 6: Opened up prefs.xml using:

Code:
cd ~/.java/.userPrefs/org/peterbjornx/whatsapp/storage/

vi prefs.xml
Step 7: Edited the <entry key="PHONENR" value="YOURNUMBER"/>

Step 8: Save it and open up Whatsapp

Step 9: Fill in the Whatsapp code you got via SMS.

Step 10: Add your contacts

Little questions I still have.

How to delete contacts?
What does a red square and a green square mean?
i have this in X terminale what i should do now? how to do step 7


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dt
<map MAP_XML_VERSION="1.0">
<entry key="IMEI" value="356938031370126"/>
<entry key="REGSTEP" value="1"/>
</map>
~
~
~
~
~
~
~
I prefs.xml 6/6 100%
 
Posts: 28 | Thanked: 4 times | Joined on Mar 2011 @ Lebanon,Beirut
#122
is there a way to get sound notification when we receive a new msg?
 
Posts: 136 | Thanked: 58 times | Joined on Apr 2012
#123
I Installed Midnight Commander to edit the xml, worked fine.

Back to the other topic:
I received the message from my PC (where I have my landline number as whatsapp account), but so far have been unable to reach anyone. The only person I could get a hold of to try this out didn't seem to have the option to write to me in her phone whatsapp. will try more tomorrow.

Some things I noticed:
Yes, when you close the app, you will still receive messages, BUT if you interrupt your internet connection and reconnect, this no longer works. Also, if I send something PC ->phone while phone is offline, then go online and start whatsapp, I will receive a window telling me that my PC is writing to me, but the messages I sent while the phone was offline are lost.
Just FYI.
 
Wreck's Avatar
Posts: 304 | Thanked: 266 times | Joined on Apr 2011 @ Apeldoorn area, Netherlands
#124
Originally Posted by whatsappneeder View Post
Bunch of text
It seems you are missing some lines of text. I don't know if adding them manually will work.

This is mine:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
<map MAP_XML_VERSION="1.0">
  <entry key="CC" value="31"/>
  <entry key="CONTACTS" value="Long code of your contacts."/>
  <entry key="IMEI" value="your Imei code"/>
  <entry key="LOGIN" value="Your phone number plus your land code"/>
  <entry key="PHONENR" value="Your phone number without the land code"/>
  <entry key="REGSTEP" value="-1"/>
</map>
You might want to try to delete your peterbjornx directory and open up whatsapp again. Fill in the information, close whatsapp.
Fill in the verification code and get the error. Then close whatsapp again and edit the prefs.xml
 

The Following 2 Users Say Thank You to Wreck For This Useful Post:
Posts: 372 | Thanked: 61 times | Joined on Jan 2012
#125
Originally Posted by Wreck View Post
Editing the prefs.xml worked for me. I am able to log-in properly and add contacts. Little question. The contacts don't need the country code do they?

What I did on the n900:

Step 1: Installed the Oracle JRE : http://uppit.com/p1glvshnvgn6/oracle...e-1.6.0u30.deb

Step 2: Installed WhatsApp : http://uppit.com/t79j5q219iux/whatsa...0.0.4alpha.deb

Step 3: Opened up whatsapp.

Step 4: Filled in the details. (Phone number + IMEI code)

Step 5: Got an sms with my activation number

Step 6: Opened up prefs.xml using:

Code:
cd ~/.java/.userPrefs/org/peterbjornx/whatsapp/storage/

vi prefs.xml
In my example i'm using vi, but you can also use Midnight Commander. Thanks Ozymandias.

Step 7: Edited the <entry key="PHONENR" value="YOURNUMBER"/>

Step 8: Save it and open up Whatsapp

Step 9: Fill in the Whatsapp code you got via SMS.

Step 10: Add your contacts

Little questions I still have.

How to delete contacts?
What does a red square and a green square mean?
i still get unknown error. should we add this line? "" <entry key="PHONENR" value="YOURNUMBER"/> "" coz there is nothing to edit. my default prefs.xml is this--

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
<map MAP_XML_VERSION="1.0">
<entry key="IMEI" value="356938035641084"/>
<entry key="REGSTEP" value="1"/>
</map>

where to add the phone number. sorry if this post irritates anyone.
 

The Following User Says Thank You to Mohammed Muid For This Useful Post:
peter2p's Avatar
Posts: 254 | Thanked: 146 times | Joined on Dec 2010 @ Antwerp Belgium
#126
I've got it working on my N900
Verified by voice on device after approximately 1 hour waiting...
Did count down to about 2 i guess minutes
Then got a call with the code
This is how it looks now
Already tested it with a colleague & ffha, no problems at all...
Thx peterbjornx
Attached Images
 
__________________
.................................................. ...........
..........................
................................N900 is a way of life....................
surfing the web, navigate, chat, ttweet, email, scan, hack, share, tweak...
.....................and you can also use him to make a call

Last edited by peter2p; 2012-04-23 at 21:54.
 
Wreck's Avatar
Posts: 304 | Thanked: 266 times | Joined on Apr 2011 @ Apeldoorn area, Netherlands
#127
Originally Posted by Mohammed Muid View Post
where to add the phone number. sorry if this post irritates anyone.
Eh, I have no idea why nobody has that line of text. Try doing what I said in my above post using my prefs.xml. You can leave the contacts line empty. Just fill in the rest with your information.
 
Posts: 8 | Thanked: 1 time | Joined on Dec 2010
#128
Originally Posted by Wreck View Post
You can always copy the full peterbjornx directory to your phone. It's basically the exact same thing.
Do you mean copy it from my PC to my phone?
 
ffha's Avatar
Posts: 131 | Thanked: 170 times | Joined on May 2010 @ Netherlands
#129
Originally Posted by Ozymandias View Post
what is the correct format for entering phone numbers - "+49[phonenumber]" ? (+49 being Germany)
Correct.

E.g.
The Netherlands' country number is 31.
My phone number is 0644466333 (not really).
My WhatsApp contact number would be 31644466333.
Here's a complete list of country numbers.


I've already added my girlfriend (and more people) with that method. Hoorah!



Edit:
As for why some are unable to find the values I specified earlier on, here's the correct filepath again:

Incorrect:
Code:
~/.java/.userPrefs/org/peterbjornx/whatsapp/prefs.xml
vs.
Correct:
Code:
~/.java/.userPrefs/org/peterbjornx/whatsapp/storage/prefs.xml
Edit the prefs.xml file in the /storage/ directory!



Originally Posted by gng554 View Post
is there a way to get sound notification when we receive a new msg?
Unfortunately, receiving a message doesn't print anything to STDOUT, else we could've grabbed the output and use that to play a sound.

Do you know java? :P

Last edited by ffha; 2012-04-23 at 21:38.
 

The Following User Says Thank You to ffha For This Useful Post:
Wreck's Avatar
Posts: 304 | Thanked: 266 times | Joined on Apr 2011 @ Apeldoorn area, Netherlands
#130
Originally Posted by buckethead View Post
Do you mean copy it from my PC to my phone?
Yeah, or you could try using my prefs.xml with your information.
 

The Following User Says Thank You to Wreck For This Useful Post:
Reply

Tags
whatscrapp!


 
Forum Jump


All times are GMT. The time now is 18:16.