Sony Ericsson Kicks Off Work on Android 2.3 Gingerbread

Japanese-Swedish mobile phone maker Sony Ericsson has already started the work on Android 2.3 Gingerbread, most probably getting ready for bringing to the spotlight the first handset based on this OS version.

Nothing was announced officially on any upcoming Android-based mobile phone, but the arrival of Android 2.3 Gingerbread in the company’s labs was already confirmed.

Simon Walker, the Head of the Developer Program for Sony Ericsson, seems pretty happy about this, and even announced on his Twitter account (via xperiax10.net) that the handset vendor started the work on Gingerbread.

“Android Gingerbread come out last week finally! Too much delay Google. Busy weeks to come for me and the team, but all worth it big time,” Simon Walker stated on Twitter.

As any other mobile phone maker which already released devices running under Android, Sony Ericsson was expected to adopt Android 2.3 too.

However, it seems that there’s more to mention here, as some of the latest rumors around the Internet suggested that the company is readying the release of some new handsets that would be based on this Android flavor.

Among them, we can count the long rumored PlayStation Phone, which supposedly sports the codename of Zeus Z1, as well as a Sony Ericsson ANZU, which was said at one point to be set to land on shelves as Xperia X12.

No official confirmation on the matter emerged, but the fact that Sony Ericsson started the work on Gingerbread could mean a lot.

Word on the street is that these devices are set to make an official appearance sometime in the first quarter of the next year, most probably at MWC in Barcelona.

If indeed real, and we have all the reasons to believe so, the PlayStation Phone should prove a nice addition to the company’s lineup, as it is expected to offer a great gaming experience to all users, through PlayStation integration.

Hopefully, Sony Ericsson won’t let us wait too long before making an official announcement on this device. Stay tuned for more.

Add a word in front or at the end of each line

Lets say that you have a file with 1000 lines and you want to add the word start in front of each line and the word end in the end of each line. What can you do?
Simple:
Let’s assume that the file is named magic.txt the command will be:
sed ‘s/^/start/g;s/$/end/g’ magic.txt

So if you want to add only in front of file use:
sed ‘s/^/start/g’ magic.txt

and if you want to add a word only at the end of the file:
sed ‘s/$/end/g’ magic.txt

Isn’t it simple?

Problem in incoming calls viva.gr

At trunk settings use the following:

context=from-trunk
fromuser=30211xxxxxx
username=30211xxxxxx
secret=xxxxxx
host=viva.gr
nat=yes
qualify=yes
type=peer
srvlookup=no
insecure=port,invite
canreinvite=no
dtmfmode=rfc2833
t38pt_udptl=yes
disallow=all
allow=alaw

User details

Leave it empty

Register string

30211xxxxxxx:secret@viva.gr/30211xxxxxxx

If the problem continues:
At /etc/asterisk/sip_nat.conf use the following settings

externip= If you have dynamic IP, use current for testing
localnet= eg 192.168.1.0/255.255.255.0

If the problem is still there then:
Check qos of your router in order to tune settings for VOIP.

HTC Legend & HD Mini Available For Preorder

After the HTC Desire Smartphone, online retailer Expansys has also listed two HTC smartphones announced a few hours ago at MWC 2010.
Both the Android-based HTC Legend and the Windows-powered HTC HD Mini have now appeared on the website and it appears that all three models (including the Desire) will be launched on Monday 12th of April.
Unlike the Desire though, neither the HD Mini nor the HTC Legend have their own dedicated website which shows where HTC is hedging its bets. That said, for next generations SIM Free phones, the Legend and the HD Mini are surprisingly affordable.

The first one costs only £400 and apart from its gorgeous looking aluminium body adn the soft rubber at the back, we learn that it will have a RDS FM Radio plus a flash for the camera (which we omitted in our original description).
As for the Mini, it will go on sale for £350. It has a 1200mAh battery, a sensible option given the size of the handset plus the ability to stream video and something called widescreen photo capture.

Backup your bootsector

Messing with bootloaders, dual-booting and various other scary processes can leave you with a messed up bootsector. Why not create a backup of it while you can:

dd if=/dev/hda of=bootsector.img bs=512 count=1

Obviously you should change the device to reflect your boot drive (it may be sda for SCSI). Also, be very careful not to get things the wrong way around – you can easily damage your drive! To restore use:

dd if=bootsector.img of=/dev/hda

Transferring files without ftp or scp

Need to transfer a directory to another server but do not have FTP or SCP access? Well this little trick will help out using the netcat utility. On the destination server run:

nc -l -p 1234 | uncompress -c | tar xvfp -

And on the sending server run:

tar cfp - /some/dir | compress -c | nc -w 3 [destination] 1234

Now you can transfer directories without FTP and without needing root access.

Recover root password

Step 1: For Redhat based distros:

Boot from your first install CD and as the very first screen comes up hit F2 and type:

rescue ( For RedHat «linux rescue» ) and the computer will boot in rescue mode.

It will show a few alternatives, select : ¨mount the existing partitions¨ and go to the shell/console prompt.

( Booting Mandrake in «failsafe» from the Lilo menu does the same )

Step 1: For SUSE:

Boot from your first install CD and press F1 at the first screen, then choose «Rescue System» from the menu and at the prompt type «root» ( you do not need a password )

Step 1: For other distro’s

Boot from the first install CD ( or any Live CD like Knoppix ) and at the bootprompt type:

linux single

(For Knoppix: knoppix single )

Alternative for step 1

Sure with most Live and Rescue CDs you can also just boot in the live version, mount the partition and, as root, make changes to the needed files

Step 2

# cd /etc

( if you boot from knoppix first cd to the partition your lost-password-distro is on )

We need to change two files; ¨passwd¨ and ¨shadow¨:

# vi passwd

< i > ( puts vi in insertmode )

This is the first line:

root:x:0:0:root:/root:/bin/bash

Make it:

root::0:0:root:/root:/bin/bash

So just get rid of the ¨x¨ and leave the ¨:¨ ( colons )

Save the file:

Press Esc,

write –> :x,

Press enter

Second file to be changed:

# vi shadow

< i > ( insert mode )

The first line is a long scrambled line of characters, just make it:

root:::: ( four : )

Press Esc

Write –> 😡

Press enter

Now you can reboot your computer. Log in as normal user, open a console and type:

$ su

# passwd

Now set the new root password !

Log out as root:

Ctrl+d