2013年6月28日星期五

compile tiap_drv.ko

make -C system/wlan/ti/WiLink_AP/platforms/os/linux KERNEL_DIR= $(KERNEL) ARCH="arm" CROSS_COMPILE="$(ANDROID_BUILD_TOP)/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" HOST_PLATFORM="zoom2" REPORT_LOG=n

2013年2月25日星期一

ramdisk and devtree for flipout

ramdisk:
    ./split_bootimg.pl CG35.smg
    mkdir ramdisk
    cd ramdisk
    gzip -dc ../CG35.smg-ramdisk.gz | cpio -i

    to new ramdisk:
    find . | cpio -o -H newc | gzip > ../newramdisk

devtree:
    apt-get install device-tree-compiler
    get device-tree directory from phone /proc
    dtc -f -I fs -O dtb -o devtree device-tree

reference: ramdisk:xda

2013年1月29日星期二

ruth(MB511) device configure files for CM7, update rom status: RC Version 5

My ROM VERSION:
RUTEM_U3_01.14.16_DEBLUR_SIGNED_USARUTH15ND0RTINT056.0R_PDS000_USARUTHEHKTWEMARA_P011_A010_HWp3_1FF.sbf

RC version 5: v0.7.4
configure sources
gapps.zip

NOTICE:If you want update fix zip, you should use bootmenu to update.When boot at motologo,click click and click "vol -" to enter bootmenu. 
->because bootmenu executed by mot_boot_mode, so /system can't umount, only can remount.
--and update zip have to modify updater-script, remount /system.

can work:
camera
battd
fmradio
bluetooth
gps
sensors
usb connect
audio

half work:
video
-> 720p has problem.

wifi
->no softap.

ril
->I only use 2G service, so I can't test 3G.

2012年12月24日星期一

flipout(rooted) overclock and drop voltage


insmod /system/lib/modules/overclock.ko[1] omap2_clk_init_cpufreq_table_addr=0xc00505b4
echo 50 > /proc/overclock/max_vsel
echo 800000 > /proc/overclock/max_rate

echo "1 600000" > freq_table
echo "2 400000" > freq_table
echo "3 200000" > freq_table
echo "4 125000" > freq_table


echo "1 125000000 16" > /proc/overclock/mpu_opps
echo "2 200000000 20" > /proc/overclock/mpu_opps
echo "3 400000000 30" > /proc/overclock/mpu_opps
echo "4 600000000 40" > /proc/overclock/mpu_opps

unstable[update]


echo 52 > /proc/overclock/max_vsel
echo 875000 > /proc/overclock/max_rate

echo "1 675000" > /proc/overclock/freq_table
echo "2 475000" > /proc/overclock/freq_table
echo "3 275000" > /proc/overclock/freq_table
echo "4 200000" > /proc/overclock/freq_table


echo "1 200000000 18" > /proc/overclock/mpu_opps
echo "2 275000000 22" > /proc/overclock/mpu_opps
echo "3 475000000 32" > /proc/overclock/mpu_opps
echo "4 675000000 42" > /proc/overclock/mpu_opps

[update]

echo 50 > /proc/overclock/max_vsel
echo 800000 > /proc/overclock/max_rate

echo "1 600000" > /proc/overclock/freq_table  
echo "2 400000" > /proc/overclock/freq_table  
echo "3 300000" > /proc/overclock/freq_table
echo "4 200000" > /proc/overclock/freq_table


echo "1 200000000 20" > /proc/overclock/mpu_opps
echo "2 300000000 25" > /proc/overclock/mpu_opps
echo "3 400000000 30" > /proc/overclock/mpu_opps
echo "4 600000000 40" > /proc/overclock/mpu_opps



2012年12月22日星期六

steam on debian wheezy(x86_64) with ATI HD4650, play TF2.

add i386 architecture
#dpkg --add-architecture i386

use "Steam installer for Debian"[1]
#./steam_bootstrap.sh

use LD_DEBUG=libs to check i386 libs
# LD_DEBUG=libs steam

use ATI closed driver[2]

the question of "GL_EXT_texture_sRGB_decode", solved[3]

reference:[1]
               [2]
               [3]

2012年12月21日星期五