maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [How-To]Install whatsapp(java port) on N900 (https://talk.maemo.org/showthread.php?t=84489)

RDilus 2012-05-25 19:00

[How-To]Install whatsapp(java port) on N900
 
I was reading alot of users got problems with or installing,setting up and using the java port of whatsapp.
And i'm here to make life easy again atleast for now.

What do you need and how much time this gonna take
Time 10-30 minutes

phone
Whatsapp java port
Oracle JRE
Filebox
Root
Internet connection

pc
Windows xp.vista or 7
Bluestack
Notepad++

First of all install all the programs that you need for pc and leave them like that.
Then download install root and filebox and also leave them for that now.

I'm assume you already download whatsapp and Oracle JRE.
Rename whatsapp-java-0.0.4alpha.deb to whatsapp.deb and rename oracle-embedded-jre-1.6.0u30.deb to oracle.deb and copy them in the root dir of you're nokia N900.

Now open Terminal X and type the following, pressing enter after each step.
root
cd /home/user/MyDocs
dpkg -i oracle.deb whatsapp.deb

Check if whatsapp icon appears on the phone.
If you see it start the application and fill in the infomation like IMEI etc.
now just press the button below all of that and yes you will get an error that is normal!
Close whatsapp now and launch filebox.
click on the gear looking icon and enable "show hidden files and folders" and press the back button.
now click on the arrow that point upwards and search for the folder ".java"
form there click on every folder until you can't any futher and you will see only one file named "prefs.xml".
Long press and select copy and click on the icon that look as a house (lol) and paste it with the icon that looks like a notepad.

Now connect you're phone to the pc as mass storage and open prefs.xml with notepad++.
delete all lines and copy this
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="IMEI" value="put IMEI HERE"/>
  <entry key="CC" value="COUNTRY CODE"/>
  <entry key="CONTACTS" value=""/>
  <entry key="LOGIN" value="CC + PHONENUM"/>
  <entry key="PHONENR" value="PHONENUM"/>
  <entry key="REGSTEP" value="1"/>
</map>

Example: (Thanks to yelram)
imei : 00000000000
CC: 34 (your country code)
Phone number: 123456789

then the file should look like 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="00000000000"/>
<entry key="CC" value="34"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="34123456789"/>
<entry key="PHONENR" value="123456789"/>
<entry key="REGSTEP" value="1"/>
</map>

and edit the lines that you need to edit and save it.
now disconnect the phone and go filebox and copy the prefs.xml from the mydocs to the original prefs.xml now close all apps and turn the phone OFF!

now we are almost there!
open bluestack and install whatsapp
launch whatsapp and put in the info that you ask for it
now wait 5 minutes and whatsapp will say that they couldt verificate it and that is fine by us
now turn on the phone again and launch whatsapp and on bluestack whatsapp press call me afther the phone fully booted up ofcouse whatsapp will call you and you will get the code
fill the code in on the phone wait for couple of mins and bam whatsapp will work

this is the most easy way i can give you enjoy whatsapp port on you're N900!
(will clean the tut later and add some pics also)

davdav 2012-05-25 20:20

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
i made all these mess using my n900 no need for a computer

RDilus 2012-05-25 20:30

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by davdav (Post 1212537)
i made all these mess using my n900 no need for a computer

year you could do that and write every single line on you're nokia.
but undestand some can't do it or don't want that and this is the most easy way then and also if register not working this will work 100%.
So instead of saying something like that you could also be like yes this can help the ppl who arent not an expert @ this

kayaman_00 2012-05-25 21:09

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
You tried to make this simple but its messy still.

Do we need to enter the CC with or without the '+' sign?
do we need to put the '+' sign on CC + PHONENUM too?

is IMEI is the phone unique ID ? or the code you get from whatsapp?
if it is the unique phone ID, where do I enter the code that I already got sent from whatsapp to my phone?

RDilus 2012-05-25 21:15

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by kayaman_00 (Post 1212568)
You tried to make this simple but its messy still.

Do we need to enter the CC with or without the '+' sign?
do we need to put the '+' sign on CC + PHONENUM too?

is IMEI is the phone unique ID ? or the code you get from whatsapp?
if it is the unique phone ID, where do I enter the code that I already got sent from whatsapp to my phone?

IMEI can be just any IMEI and CC without +
most ppl just know that because its commen sense
and whatsapp can detect if you phone is on or on the net reason you need to turn it of get it ?

managatsuo 2012-05-25 21:46

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
All good until I typethe verification code and the application says ..Unknow error..
any ideas how to fix this?

Iam not an expert so can you please explain what have to be written in the values in Notapad ++ when Iam editing the pref.xml file

kayaman_00 2012-05-25 21:46

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
ANd where do I enter the 3 digit code that I get?

RDilus 2012-05-25 21:52

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by kayaman_00 (Post 1212583)
ANd where do I enter the 3 digit code that I get?

in whatsapp on N900
if you edited the prefs.xml and replaced the old one he should ask for a code
still need to fix the tut im busy with it now

managatsuo 2012-05-25 21:58

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
ALL works now. THANKS A LOT man. !!!

RDilus 2012-05-25 22:00

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by managatsuo (Post 1212591)
ALL works now. THANKS A LOT man. !!!

no swet enjoy whatsapp

youriehv 2012-05-26 06:11

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
I dont get a message from whatsapp. What im doing wronge?

N900L 2012-05-26 09:23

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
I have edited the prefs.xml and i have recieved the whatsapp code as sms
and phone call
but i still get "Unknown error after typing in the code,
Did i do something wrong?
I have edited all the lines
CC = 972 without +
imei +my mobile phones imei
and phonenum my phonenumber
Thanks

RDilus 2012-05-26 12:43

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by N900L (Post 1212770)
I have edited the prefs.xml and i have recieved the whatsapp code as sms
and phone call
but i still get "Unknown error after typing in the code,
Did i do something wrong?
I have edited all the lines
CC = 972 without +
imei +my mobile phones imei
and phonenum my phonenumber
Thanks

just keep trying and make sure the phone is connected to the web

Essence19 2012-05-27 00:07

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
hey there - everything worked perfectly whatsapp is installed but when i try to put in the details for the imei and phone number on the verification page and click verify, the bar moves a little then gets stuck and doesn't move again.

so i don't have a place to put the code when i receive it from bluestack steps.

I am stuck on the verification page cant get past it?

m_dk29 2012-05-27 04:50

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Its giving me "Unknow Error" when i put the code.

RDilus 2012-05-27 05:51

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
ok i'm gonna make a video tut that would make it extra easy!

m_dk29 2012-05-28 03:08

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
By mistake i enabled whatsapp on Bluestack. After that i deleted my account and registered again to get a new code. But once registered even though i deleted my account it remembers my number and create account automatically. Is there a way to get new verification code?

RDilus 2012-05-28 06:42

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by m_dk29 (Post 1213576)
By mistake i enabled whatsapp on Bluestack. After that i deleted my account and registered again to get a new code. But once registered even though i deleted my account it remembers my number and create account automatically. Is there a way to get new verification code?

reinstall whole bluestack there is no other way for that now sorry

OUSSAMA TAWIL 2012-05-28 11:57

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Hey guys,

i did all the steps mentioned before but i am still getting the error,

my phone number is 961 3 65......
i used
CC: 961
login:365......
and the phoneno: 65....

any help please?

RDilus 2012-05-28 14:25

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by OUSSAMA TAWIL (Post 1213766)
Hey guys,

i did all the steps mentioned before but i am still getting the error,

my phone number is 961 3 65......
i used
CC: 961
login:365......
and the phoneno: 65....

any help please?

did you change more thing i need to know to help you better

ekohaha 2012-05-28 17:09

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
you must me hellpppp meee pleeassee

how lines i must to be edit i dont understand it

yelram 2012-05-29 03:17

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
This is what i did to make it work. And... IT WORKS!

The file that needs to be edited is in:
/home/user/.java/.userPrefs/org/peterbjornx/whatsapp/prefs.xml


<?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="yourimei"/>
<entry key="CC" value="yourcountrycode"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="countrycodeandphonenumber"/>
<entry key="PHONENR" value="phonenumber"/>
<entry key="REGSTEP" value="1"/>
</map>

----
Example:
imei : 00000000000
CC: 34 (your country code)
Phone number: 123456789

then the file should look like 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="00000000000"/>
<entry key="CC" value="34"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="34123456789"/>
<entry key="PHONENR" value="123456789"/>
<entry key="REGSTEP" value="1"/>
</map>

----

I restarted after editing the file. Then opened Whatsapp and I was able to see the code screen.

Regstep MUST be 1, that means that it will ask you for the Code. Else you wont be able to see the code screen.

Hope that helps.

RDilus 2012-05-29 04:17

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by yelram (Post 1214181)
This is what i did to make it work. And... IT WORKS!

The file that needs to be edited is in:
/home/user/.java/.userPrefs/org/peterbjornx/whatsapp/prefs.xml


<?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="yourimei"/>
<entry key="CC" value="yourcountrycode"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="countrycodeandphonenumber"/>
<entry key="PHONENR" value="phonenumber"/>
<entry key="REGSTEP" value="1"/>
</map>

----
Example:
imei : 00000000000
CC: 34 (your country code)
Phone number: 123456789

then the file should look like 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="00000000000"/>
<entry key="CC" value="34"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="34123456789"/>
<entry key="PHONENR" value="123456789"/>
<entry key="REGSTEP" value="1"/>
</map>

----

I restarted after editing the file. Then opened Whatsapp and I was able to see the code screen.

Regstep MUST be 1, that means that it will ask you for the Code. Else you wont be able to see the code screen.

Hope that helps.

do you mind ill use this example in my tut ?

yelram 2012-05-29 04:19

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Sure, of course I don't mind! :)

emorace 2012-05-29 12:11

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
thanks for your tutorial,
till the last ooint everything was going how it should be,
but i typed in the 3 digits code into bluestacks, now, if i want to use the code again on the n900 an error message appears, is there now no solution that i can use the verified account (via bluestacks) on the n900?

RDilus 2012-05-29 12:36

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by emorace (Post 1214359)
thanks for your tutorial,
till the last ooint everything was going how it should be,
but i typed in the 3 digits code into bluestacks, now, if i want to use the code again on the n900 an error message appears, is there now no solution that i can use the verified account (via bluestacks) on the n900?

no you need to reinstall bluestack then i know it;s stupid but we can't delete cache data on bluestack yet

ivgalvez 2012-05-29 13:04

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
RDilus, will you upload the Oracle Java package to the repository? That would allow other packages to depend on it.

In fact it would be better to have a "java" metapackage provided by Oracle Jave or IcedTea.

optional106 2012-05-29 15:54

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by RDilus (Post 1214367)
no you need to reinstall bluestack then i know it;s stupid but we can't delete cache data on bluestack yet

Yes, You should add this onto the first post too !
DO NOT ENTER PIN INTO BLUESTACK, Enter into N900 only.

Delete Bluestack and get new pin if you accidentally typed it into bluestack

RDilus 2012-05-29 18:28

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by ivgalvez (Post 1214376)
RDilus, will you upload the Oracle Java package to the repository? That would allow other packages to depend on it.

In fact it would be better to have a "java" metapackage provided by Oracle Jave or IcedTea.

i can't because first of all i dind't make this only write tuts for it keep that in mind

didntwork 2012-05-30 03:30

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by RDilus (Post 1212505)
dpkg -i oracle.deb whatsapp.deb


Hi!,
I have followed the instructions and I get this:

home/user/MyDocs # dpkg -i oracle.deb whatsapp.deb
(Reading database ... 23274 files and directories currently installed.)
Preparing to replace oracle-embedded-jre 1.6.0u30 (using oracle.deb) ...
Unpacking replacement oracle-embedded-jre ...
dpkg-deb: `whatsapp.deb' is not a debian format archive
dpkg: error processing whatsapp.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Setting up oracle-embedded-jre (1.6.0u30) ...
Errors were encountered while processing:
whatsapp.deb
home/user/MyDocs #

skupa 2012-05-31 08:11

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Hello there...... m new to the N900 but its an awesome phone..... Just one thing though..... i cant seem to find the root dir folder .... i dnt know if you can help me m stuck.... i tried using the PC, after showing all hidden folders but still cannot find it.... Please help

OUSSAMA TAWIL 2012-05-31 08:19

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by RDilus (Post 1213833)
did you change more thing i need to know to help you better

Thanks for the help :)

that's exactly my pref after editing:

<?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="356938xxxxxxxxx"/>
<entry key="CC" value="961"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="9613353xxx"/>
<entry key="PHONENR" value="3353xxx"/>
<entry key="REGSTEP" value="1"/>
</map>

961 is my country code
3 is the area code
353xxx is my phone number
after inserting the verification code, the page change to the registration page and it gives me" could not login : communication error"

thanks in advance

reinob 2012-05-31 12:21

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by skupa (Post 1215377)
Hello there...... m new to the N900 but its an awesome phone..... Just one thing though..... i cant seem to find the root dir folder .... i dnt know if you can help me m stuck.... i tried using the PC, after showing all hidden folders but still cannot find it.... Please help

I don't know what this may have to do with whatsapp.

Anyway, what do you mean by "root dir folder". The root folder is /, the folder where the "profile" for the root user is /root.

None of those folders is visible when connecting the N900 with a PC using mass storage mode (only the /home/user/Mydocs folder is visible).

Varivy-Xis 2012-05-31 15:30

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
"fill the code in on the phone wait for couple of mins and bam whatsapp will work"

I'm kinda stuck on this part, it keeps on this screen. But the WIFI connection is up and running. Any Ideas how to fix this ? Thanks in advance.

seanmcken 2012-06-03 06:33

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
come on guys i dont understand a single step of this cuz its a noob question and plz giv a noob guide. and i dont even understand that wer to put that code ? plz give a complete noob guide

Dinu 2012-06-13 11:23

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
hey i havea N900 i live in london i did 44 as CC i am still having erroer do i tryed 1 time more and now it is frozan on the verify the blue bar is not moving what is wrong help

Dinu 2012-06-13 11:29

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
i have a code from whatsapp but i dont Know where to put it cos it is still giveing me unknown error wot is the method:sms,voice,recover,loging

don_falcone 2012-06-13 11:37

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by seanmcken (Post 1216671)
come on guys i dont understand a single step of this cuz its a noob question and plz giv a noob guide. and i dont even understand that wer to put that code ? plz give a complete noob guide

...consider yourself being not much in the right place on this 'board' then. When was the last time _you_ were helpful?

zilshah 2012-07-11 17:46

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by Varivy-Xis (Post 1215534)
"fill the code in on the phone wait for couple of mins and bam whatsapp will work"

I'm kinda stuck on this part, it keeps on this screen. But the WIFI connection is up and running. Any Ideas how to fix this ? Thanks in advance.

I have the exact same problem!
I enter my code and then select "complete" on the N900, after which the screen sort of freezes!
I restarted my phone, thinking it might have gotten verified but the same thing appeared! :( :confused:

So basically its not getting verified!

zilshah 2012-07-12 08:27

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Works like a charm, if you follow the instructions properly!! :D


All times are GMT. The time now is 22:25.

vBulletin® Version 3.8.8