Skip to main content

Posts

My New Android 1.6 / Debian Tablet Splash Screen

Logos are registered trademarks of their respective owners. Created using The GIMP .

MD5 Hash Function for Oracle

Basically there are 2 functions needed. Some people prefer the raw hash instead of the hex equivalent. 1. md5raw - for encoding text in raw md5 hash 2. md5 - for converting raw md5 hash to hex. Here’s the code for the md5raw function. create or replace function md5raw (text in varchar2) return varchar2 is hash_value varchar2(20); begin hash_value := dbms_obfuscation_toolkit.md5 (input_string => text); return hash_value; end; and the code for the md5 function. create or replace function md5(text in varchar2) return varchar2 is hash_value varchar2(32); begin select lower(rawtohex(md5raw(text))) into hash_value from dual; return hash_value; end; Now you can do something like this. select md5('koala') from dual; |---------------------------------------| |MD5('koala') | |---------------------------------------| |a564de63c2d0da68cf47586ee05984d7 | |---------------------------------------|

Access VirtualBox Shared Folder in Ubuntu Guest

I have been doing this for quite some time now but I failed to document it. First, install the VirtualBox Guest Additions on your host. Then you create a mount point (assuming it is /media/shared). $ sudo mkdir /media/shared You may change the path if you want. Mount the shared folder using the command below. $ sudo mount -t vboxsf <folder> /media/shared Replace the <folder> above with the correct shared folder name. Enjoy.

Play Low Quality Videos in Gome Flytouch

One of the common problems of Gome Flytouch is its inability to play high quality videos. Here is a trick by Kiarov for converting videos to a lower quality in order to be playable - Gome Flytouch Video Encoding Tutorial . Do not forget, you must have your tablet overclocked to 400MHz. The software used for conversion was HandBrake but you can use any converter of your choice. The converted videos work well with Meridian Player . Here’s the settings: Type: MP4 Size: 480x320 Video Bit Rate: 384 kbps Frame Rate: 25 fps Video Encoder: XVid Audio Encoder: AAC Sample Rate: 44.1 KHz Audio Bit Rate: 64 kbps

G Sensor and Camera Fix for Gome Flytouch

Some Gome Flytouch tablets have their G sensors and cameras inverted by default. There are two ways to fix these. 1. If you’re creating your own firmware, it’s better to include the fix right on the scriptcmd file. For the G sensor, add this line: setenv gsensor_axis 0,-1,1,1,2,1 and for the camera: setenv camera_rotate 270 2. If you had your device rooted, just execute the commands above on any Android terminal as root.

Gome Flytouch Android Tablet

Gome Flytouch Model: generic Manufacturer: generic Device: generic Product: generic Brand: generic CPI ABI: armeabi Kernel Version: 2.6.29-00236-g4f8dbbb-dirty howayhuo@szmce12(MontaVista) Build No: Donut.eng.howayhuo.20100910.134417 Release: 1.6 SDK: 4 Processor: ARM926EJ-S rev 5 (v5l) BogoMIPS: 174.48 Features: swp half thumb fastmult edsp java CPU Implementer: 0x41 CPU Architecture: 5TEJ CPU Variant: 0x0 CPU Part: 0x926 CPU Revision: 5 Hardware: WMT Revision:0000 Serial: 000000000000000 Type: Touchscreen Tablet Materials: Plastic Colors: White Camera: 0.3 Megapixel Screen: 7" Resistive Touchscreen at 800*480(16:9) CPU: VIA WM8505 (350MHz) RAM: 256MB DDR2 Flash ROM:2GB Expansion Memory: SD/SDHC/MMC up to 32GB Network Connectivity: WiFi or Ethernet (RJ45) Sensors: Accelerometer (supports rotation) Vibration: Yes Battery Capacity: 2400mah Ports: USB 2.0 Host /USB 2.0 Device Port/3.5 mm Headphone Jack Sound: Internal Microphone and Speakers If you are buying from the Ph...

My Android Splash Screen

I just want to share my Android Splash Screen. Credit goes to the original artist. I just modified some part of it. If you have an 800x480 pad, make sure your bitmap is 24-bit and of course the resolution must be 800x480.

update.sh for Android

After scriptcmd (previous blog post), the next to be called is the update.sh script. The script will setup the file system, data partition, cache partition, and user space. It will install BusyBox for you. height=22 pointX=30 pointY=100 SDCARD=/mnt/mmcblk0p1 string="Good luck!" echo $string gui-echo $pointX $pointY "$string" if [ -x /mnt/mmcblk0/script/update.sh ] ; then SDCARD=/mnt/mmcblk0 fi if [ -f ${SDCARD}/script/android_fs.tar ] ; then string="Updating file system..." echo $string gui-echo $pointX $pointY "$string" else string="--- File not found - script/android_fs.tar" echo $string gui-echo $pointX $pointY "$string" pointY=$(($pointY + $height + $height)) string="Failed updating file system!" echo $string gui-echo $pointX $pointY "$string" exit 0 fi # FILE SYSTEM SETUP pointY=$(($pointY + $height + $height)) string="Cleaning up file...

scriptcmd for Android

Here’s my script for updating the Android firmware. This script must contain the correct file header for your processor. setenv BMP_ADR 3c00000 fatload mmc 0 $(BMP_ADR) script/hint1_en.bmp setenv lcdparam 1,30000,8,800,480,48,40,40,3,29,13 setenv pwmparam 0,45,1040,1040 setenv LCDC_FB f900000 lcdinit logo show -1 0 textout 30 80 "Android update will start after 8 seconds..." ffff00 sleep 1 textout 30 80 "Android update will start after 7 seconds..." ffff00 sleep 1 textout 30 80 "Android update will start after 6 seconds..." ffff00 sleep 1 textout 30 80 "Android update will start after 5 seconds..." ffff00 sleep 1 textout 30 80 "Android update will start after 4 seconds..." ffff00 sleep 1 textout 30 80 "Android update will start after 3 seconds..." ffff00 sleep 1 textout 30 80 "Android update will start after 2 seconds..." ffff00 sleep 1 textout 30 80 "Android update will start after 1 second..." ffff...

Android ASCII Art

G G GG GG G G GG GG GG GGGGGGGGGGGGG GG GGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGG GGGGGGGGGGGGGGGGG GGGGGG GGGGGG GGGGGGGGGGGGGGG GGGGGG GGGGGGG GGGGGGGGGGGGGGG GGGGGGG GGGGGGGG GGGGGGGGGGGGGGGGG GGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GG GGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGG GGGGGGG GGGGGGGG...

Active Directory with JXplorer

For folks who do not read the manual. If you encounter this error using JXplorer: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece] Do not use your login name. Use your full name instead.