Showing posts with label n70. Show all posts
Showing posts with label n70. Show all posts

Wednesday, October 6, 2010

Installing Python on Android

Had left the Openmoko Linux phone and aging Nokia N70 back in India. Now I travel with a basic model phone, do miss hacking phone.

This morning I decided to change all that. Checking out Python Scripting Layer For Android using the Android SDK. My Nokia also ran Python S60 until the project lost wind. Getting the android environment on Ubuntu was easy thanks to Eric's tutorial



Sunday, August 9, 2009

Hack a Mobile Phone with Ubuntu Linux and Python for S60

Nokia N70

Managed to breath life back into my old hand-me-down Nokia N70. The phone was having White Screen of Death (WSOD) one too many, a new display IC fixed that. The original nokia battery (Nokia BL-5C) started to swell and needed to be replace.

Now the old war horse is battle ready, let me hook it up to my laptop via a bluetooth link and do something useful with Python on S60 series.




$ hciconfig reset 
hci0: Type: USB
 BD Address: 00:21:86:A8:BF:03 ACL MTU: 310:10 SCO MTU: 64:8
 UP RUNNING PSCAN ISCAN 
 RX bytes:1260 acl:0 sco:0 events:34 errors:0

$ hcitool dev 
Devices:
 hci0 00:21:86:A8:BF:03

$ sdptool add --channel=2 SP 
Serial Port service registered

# Now make sure the Python bluetooth console is running

$ rfcomm listen rfcomm2 2 

In your phone, make sure bluetooth is on, then go to the Python application and then select the Bluetooth Console. Select from the list of available devices your computer's bluetooth adapter (you might need to select search even if you think you have already defined the pairing). If the operation is successful, you should see something similar to the following on your computer's shell:

    * Waiting for connection on channel 2
    * Connection from 00:11:9F:BE:47:CA to /dev/rfcomm2
    * Press CTRL-C for hangup 

# Change to different terminal and connect to the device with screen. 
$ screen /dev/rfcomm2

# Run basic tests.

print u"hello"
hello
>>>
>>> import appuifw
>>> appuifw.note(u"hello world")
>>>

This Python S60 Bluetooth Console wiki page provides more step by step intrusions of the whole process.

Wednesday, December 3, 2008

Commwarrior Virus on Nokia N70

Nokia N70 My Nokia N70 was infected by Commwarrior worm during my stay in Bangalore. I always keep my Bluetooth connectivity disabled but the worm must have crept in via Multimedia Messaging System (MMS) or perhaps the memory card (RS-MMC) I picked up recently was already infected.

I tried to contain the worm right away by removing the GPRS/Data Access Points information and changing the phone Line In Use to line 2. The wor, would try to send MMS messages out and start the browser to connect to remote servers with .ru (Russia) domains, since both of them were blocked it started to crash and reboot every few minutes. Here is detailed steps to remove the commwarrior worm from your smart phone.

How to remove Commwarrior Worm From Nokia N70

F-Commwarrior - Tool to deactivate the worm:Download
Disinfection:

  1. Download F-Commwarrior and transfer .sis file to phone(I used obexftp client to transfer .sis to phone)
  2. Click f-commwarrior.sis file to install the application
  3. Make sure that you have all applications closed
  4. Open F-Commwarrior application and select "Deactivate Commwarrior" from menu
  5. If Commwarrior is found phone boots immediately after disinfection
  6. Install F-Secure Mobile Anti-Virus to finish cleaning up your phone

Popular Posts