Saturday, October 9, 2010

Convert gif to video under ubuntu

To convert a gif image to a video you need the program ffmpeg.
you can get it through apt-get typing
sudo apt-get install ffmpeg

As shown this tutorial we need only two commands
convert test.gif test%05d.jpg
ffmpeg -r 5 -i test%05d.jpg -y -an -sameq test.avi

-r specifies the framerate
We added -sameq to have the same quality of the gif in the video.

enjoy

Lg gw620 - root console access

To root this mobile phone you can follow the tutorial at this link.

brief summary
  • have android sdk
  • connect phone
  • call 3845#*620#
  • in the secret menu select module test > stability test > enable root permission
  • password is eve&adam&&620love!

Troubleshooting:
  • "adb devices" yields "???????? no permissions"
type
sudo adb kill-server
sudo adb start-server
adb devices
NOTE: once you have typed the password with kill and start should work also the next time..

removed default apps
# rm AssassinsCreed_SMSDEMO_LG_GW620_IT_NONIGP_TS_107.apk
# rm DivinaCommedia_1_0_1.apk
# rm BrainChallenge_HD_SMSDEMO_LG_GW620_IT_NONIGP_TS_108.apk
# rm MidnightBilliard2_SMSDEMO_LG_GW620_IT_NONIGP_TS_121.apk
# rm CSMobile1_1_0.apk
# rm ClientVirgilio.1.0.2_signed.apk
# rm CardioTrainer_v1.7.0.apk
# rm MoxierMail-2.1.60.1-GW620.apk
# rm MIDP_SMSDEMO_LG_GW620_EFGISPL_NONIGP_102.apk
# rm My_e-mail_Android.apk
# rm com.firstrowria.android.soccerlivescores.apk
# rm Email.apk
# rm Linkbook.apk
with relative odex files

Thursday, October 7, 2010

How to discover your pc's architecture

In order to install the right version of any operating system or program we have to know which architecture lays under our pc.

There are actually two kind of architectures: 32 and 64bit.
To distinguish between 32 and 64 when choosing our software we have to keep in mind this:
  • - i386, x86, x32 means 32 bit
  • - amd64, x64 means 64 bit
Discovering under Windows
Download CPU-Z (free, no install needed) from here and run it.
In the first tab at the voice "Instructions" you will find something like this


x86_64 or EM64T means 64bit architecture

Discovering under Ubuntu Linux
In terminal type
lscpu
At te voice architecture you will find this information

Wednesday, October 6, 2010

How to rotate a video with Ubuntu linux

Taking vids with our mobile phone is very useful and funny but sometimes it is necessary to rotate our video.
That's how we can do it

first of all we have to install mencoder
sudo apt-get install mencoder
than execute this command
mencoder -vf rotate=1 -o OUTPUT.AVI -oac copy -ovc lavc INPUT.AVI
where
  • -vf is used to select a filter. In this case we are using the rotate filter
  • -o is used to specify the output file
  • -oac specifies the audio codec (or we can use -nosound)
  • -ovc specifies the video codec
that's all