Keresés

Hirdetés

Új hozzászólás Aktív témák

  • dnelb

    veterán

    válasz bull84ghia #8751 üzenetére

    08on. 9-est nem rakom fel, számomra felesleges változások vannak benne.. Csak azért 1el nagyobb legyen a verziószám meg nem frissítgetek.

    [ Szerkesztve ]

  • dnelb

    veterán

    válasz bull84ghia #8751 üzenetére

    Itt a config fájl amúgy, hátha segít...

    #!/system/bin/busybox sh

    # Vibrator configuration
    echo 2400 > /sys/devices/platform/msm_pmic_vibrator/voltage_mv

    # lm3530 LMU configuration
    echo linear > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/br::mapping # linear exp
    echo 8192 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/br::rate::up # 8, 1024, 2048, 4096, 8192, 16384, 32768, 65538
    echo 65538 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/br::rate::down # 8, 1024, 2048, 4096, 8192, 16384, 32768, 65538
    echo 250 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/br::limit # 0 - 255
    echo 19.0 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/br::fsc # 5.0, 8.5, 12.0, 15.5, 19.0, 22.5, 26.0, 29.5
    echo 30,70,110,150 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/curve::borders
    echo 10,75,120,164,254 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/curve::targets
    echo high-z > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/als::r1 # high-z, 9360, 5560 .. 677.6 (see chip mnual)
    echo high-z > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/als::r2 # high-z, 9360, 5560 .. 677.6 (see chip mnual)
    echo 1024 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/als::avg-t # 32, 63, 128, 256, 512, 1024, 2048, 4096
    echo i2c > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/mode # i2c, pwm, i2c_pwm, als, pwm_als, i2c_pwm_als, i2_als

    # Proximity sensor configuration
    echo 15 > /sys/devices/platform/proximity-sensor/semc/proximity-sensor/led_on_ms # sensor LED on time in ms
    echo 35 > /sys/devices/platform/proximity-sensor/semc/proximity-sensor/led_off_ms # sensor LED off time in ms

    echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    echo 80 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
    echo 40 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential
    echo 400000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
    echo 122880 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

    # modules
    insmod /system/lib/modules/ax8_smartass.ko
    insmod /system/lib/modules/ax8mt.ko
    insmod /system/lib/modules/x8uv.ko
    insmod /system/lib/modules/x8oc.ko

    # Needed by radio
    mkdir /data/radio
    chmod 0777 /data/radio

    chmod 0777 /dev/msm*
    chmod 0777 /dev/pmem_adsp
    chmod 0777 /dev/msm_camera/*
    chmod 0777 /dev/graphics/*
    chmod 0777 /dev/oncrpc/*
    chmod 0777 /sys/class/semc/rgb_led/*
    chmod 0666 /sys/devices/platform/i2c-adapter/i2c-0/0-0036/mode
    chmod 0666 /sys/devices/platform/i2c-adapter/i2c-0/0-0036/br::intensity

    mount -o remount,rw /dev/block/mtdblock0 /system
    chmod u+s /system/bin/charger

Új hozzászólás Aktív témák