Sunday, September 2, 2012

Android and boot animation

Just wanted to check how such fancy view been created for Android 4x , Ice Cream Sandwich or ICS:


Quick investigations shown that general boot process for Android-based devices looks like this : linux:boot:android

Just notice such step as:
bootanimationShows the animation during boot-up
ok, after short lookup in the source, I could find one important file, like BootAnimation.cpp

You can see all details inside but in fact - not much OpenGL ES been used, beside showing textures over time as animation frames, see bool BootAnimation::threadLoop()
from the link above.

OpenGL ES usage is mostly all about following calls:
with doing animation sequence itself inside bool BootAnimation::movie()
with even more simple calls.

Sad story, I was under impression that boot animation is dynamic in the full sense and rendered by OpenGL ES 

... well, just was a hope ...


Besides, you can see where animation located and now it will be easy to replace for the own one, if you would wish..

example of the bootanimation.zip is here: http://www.mediafire.com/?663k1abf2d1wy2m
or just google for such raw sample for your best look...


( you can replace default with yours with adb command like:
adb push ./bootanimation.zip /data/local/bootanimation.zip 

see in sources - User's boot animation has higher priority vs system's one,
unless encrypted system is used AND present )


Is my mobile emailing secure?

Just wanted to really check if my emails from my iphone usage can be sniffed meaning be visible to someone if I would use some WiFi hotspot, 
like when traveling...

In order to check this, had to establish my small test environment, like very good described here: Capturing iPhone traffic with Wireshark

Now different techniques possible but I wanted to do it fast, lazy me...

So I opened captured with Wireshark packages and searched for "yahoo" and "google" as email services I am using:


Now about findings:
- For yahoo , I see certificate exchange and more:









- For gmail, also:









and sadly ( joking ) - nothing unencrypted/unsecured about my email text, email contacts etc

Well, feel myself safe , 
or ?


PS: nothing especially been made for default email settings,

However, for gmail account: "Using of SSL" set to ON,
Yahoo mail on iphone currently has no such setting.