Настройка GPS навигации для планшетов WM8650

Инструкции для КПК (PPC)

Модератор: чипега

Bynevsky
Начинающий
Начинающий
Сообщения: 4
Зарегистрирован: 21.10.2011 3:14
Откуда: Kyiv (UA)

Настройка GPS навигации для планшетов WM8650

Непрочитанное сообщение#1 » Bynevsky » 17.11.2012 7:04

Здравствуйте!
Помогите, пожалуйста, подружить планшет с GPS приёмником!
Не могу запустить драйвера, где они лежат (если лежат), или куда и как правильно положить в данную сборку?
Я уже пятый день(ночь) бьюсь с этой проблемой, и результата - НОЛЬ!

Итак, что я имею:
Решено![/font]
Последний раз редактировалось Bynevsky 21.11.2012 1:05, всего редактировалось 1 раз.

Аватара пользователя
Blaze
Информатик-аналитик
Информатик-аналитик
Сообщения: 8926
Зарегистрирован: 24.05.2007 17:23
Модель телефона: Redmi 7
Прошивка: Android 9
Sat-ресивер: Tiviar Mini HD
Откуда: Данков
Контактная информация:

Re: Нужна помощь: USB GPS + WM8650

Непрочитанное сообщение#2 » Blaze » 17.11.2012 11:14

Настройка GPS навигации для планшетов WM8650
1. Перед выбором номера (модели) в прошивке Uberoid - см. здесь, в CHANGER_WIN.bat введите команду:

Код: Выделить всё

XTRAMODS
(данная команда добавит в прошивку pl2303.ko для поддержки GPS и прочие библиотеки) после чего, нажмите любую клавишу.

2. Затем выбирайте свой номер (модель) в CHANGER_WIN.bat.

3. После того, как все данные прошивки будут скопированы на sd-карту, откройте на sd-карта:\FirmwareInstall\packages\
архив android2.2-froyo.tgz с помощью 7-Zip и найдите файл init.rc (нажмите на него один раз, чтобы он стал активным)

4. Нажмите в 7-Zip кнопку 'Извлечь'. Извлеките init.rc в нужное место (запомните его, при этом не закрывайте окно с 7-Zip, где расположен файл init.rc).

5. Скачайте Notepad++ (скачайте и установите файл Notepad++ vx.x.x.x Installer).

6. Откройте файл init.rc с помощью Notepad++ и добавьте в init.rc следующую строку:

Код: Выделить всё

insmod /lib/modules/2.6.32.9-default/pl2303.ko
после:

Код: Выделить всё

# setup the global environment
    export PATH /sbin:/bin:/system/sbin:/system/bin:/system/xbin:/busybox/sbin:/busybox/bin
    export LD_LIBRARY_PATH /system/lib
    export ANDROID_BOOTLOGO 1
    export ANDROID_ROOT /system
    export ANDROID_ASSETS /system/app
    export ANDROID_DATA /data
    export EXTERNAL_STORAGE /sdcard
    export ASEC_MOUNTPOINT /mnt/asec
    export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
    export HOME /
сохраните изменения в Notepad++.

7. Перетащите отредактированный файл init.rc в окно (там, где находился исходный файл init.rc) 7-Zip
У вас появится окно 'Подтверждение копирования файлов', нажмите 'Да'. Закройте окно с 7-Zip-ом.
У вас должно появится следующее окно:
Изображение
Нажмите 'ОК'. Дождитесь когда процесс добавления будет завершен.

8. Вставьте в выключенный планшет подготовленную SD-карту, включите и прошейте планшет.

9. Установите программу Navitel или Androzic для Android - наслаждайтесь GPS навигацией.

Изображение

Bynevsky
Начинающий
Начинающий
Сообщения: 4
Зарегистрирован: 21.10.2011 3:14
Откуда: Kyiv (UA)

Re: Настройка GPS навигации для планшетов WM8650

Непрочитанное сообщение#3 » Bynevsky » 18.11.2012 7:17

Спасибо огромное за подробное описание, сделал всё именно так, но увы GPS-приёмник не работает в паре с планшетом - индикатор постоянно горит красным (должен моргать подмигивать).

Установил UsbGPS4Droid_alpha5.apk, чтобы изменить порт ttyUSB0 -->> ttyUSB5 (в моём случае) и запустить GPS - не помогло.
Изображение

Установил SerialPort_1.1.apk - порт стоит правильный, есть обмен данными(хоть индикатор и не моргает) - навигация не работает.
Изображение Изображение

Какие ещё будут предложения?

п.с. Отчасти не по теме, но всё же...
Я так понимаю, что если дополнительно добавить в файл init.rc строки с названием модуля(драйвера), например:

Код: Выделить всё

insmod /lib/modules/2.6.32.9-default/bluetooth.ko
insmod /lib/modules/2.6.32.9-default/btusb.ko
insmod /lib/modules/2.6.32.9-default/rfcomm.ko

то, после прошивки устройство автоматически подхватит мой Bluetooth USB Dongle (USB\VID_0A12&PID_0001&REV_1915).
И какие драйвера ещё добавить для верности, чтобы работала функция передачи данных на/с планшет/а по каналу bluetooth?
п.п.с. Можно ли таким образом (на предустановочном этапе), сразу добавить всё необходимое для HSDPA USB Modem ZTE MF180S (unlock)? ведь USB мышь, например, сразу и без танцов с бубном работает...
Тему Как подключить 3G модем к планшету Android - курилчитал.[/color][/font]

Аватара пользователя
Blaze
Информатик-аналитик
Информатик-аналитик
Сообщения: 8926
Зарегистрирован: 24.05.2007 17:23
Модель телефона: Redmi 7
Прошивка: Android 9
Sat-ресивер: Tiviar Mini HD
Откуда: Данков
Контактная информация:

Re: Настройка GPS навигации для планшетов WM8650

Непрочитанное сообщение#4 » Blaze » 18.11.2012 11:58

Здравствуйте Bynevsky.
Насчет GPS. Попробуйте сделать так, как пользователь srt45 см. это сообщение (так же вы можете связаться с srt45 по email - вам необходимо открыть его профиль, там будут его контакты)
insmod /lib/modules/2.6.32.9-default/bluetooth.ko
insmod /lib/modules/2.6.32.9-default/btusb.ko
insmod /lib/modules/2.6.32.9-default/rfcomm.ko
Все эти библиотеки и многие другие есть в команде XTRAMODS (берутся из архива xtra_modules.tgz - находится WM8650_Universal_Uberoid_v12.1_22SEP2012_TekNotes\Changer_files\)
Поэтому стоит попробовать. Команда XTRAMODS копирует xtra_modules.tgz в \FirmwareInstall\packages\

Насчет модемов серии ZTE - нет, так данным модем необходимо добавить индивидуальную конфигурацию настроек.

Bynevsky
Начинающий
Начинающий
Сообщения: 4
Зарегистрирован: 21.10.2011 3:14
Откуда: Kyiv (UA)

Re: Настройка GPS навигации для планшетов WM8650

Непрочитанное сообщение#5 » Bynevsky » 21.11.2012 0:06

Не дождавшись ответа, решил поэкспериментировать с файлом init.rc, а именно добавил в него все дополнительные модули которые находятся WM8650_Universal_Uberoid_v12.1_22SEP2012_TekNotes\Changer_files\xtra_modules.tgz\.\lib\modules\2.6.32.9-default .
Выглядело это следующим образом:

Код: Выделить всё

## This file, and all other files associated with the 'Uberoid firmware', contain
## modifications that are the intellectual property of HardcoreHacker, leeh33 and
## the TechKnow forum community. Selling the 'Uberoid firmware' for profit is unacceptable.

on init

sysclktz 0

loglevel 1

# setup the global environment
    export PATH /sbin:/bin:/system/sbin:/system/bin:/system/xbin:/busybox/sbin:/busybox/bin
    export LD_LIBRARY_PATH /system/lib
    export ANDROID_BOOTLOGO 1
    export ANDROID_ROOT /system
    export ANDROID_ASSETS /system/app
    export ANDROID_DATA /data
    export EXTERNAL_STORAGE /sdcard
    export ASEC_MOUNTPOINT /mnt/asec
    export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
    export HOME /
	
	insmod /lib/modules/2.6.32.9-default/pl2303.ko
	insmod /lib/modules/2.6.32.9-default/bluetooth.ko
	insmod /lib/modules/2.6.32.9-default/btusb.ko
	insmod /lib/modules/2.6.32.9-default/8021q.ko
	insmod /lib/modules/2.6.32.9-default/aircable.ko
	insmod /lib/modules/2.6.32.9-default/ark3116.ko
	insmod /lib/modules/2.6.32.9-default/arp_tables.ko
	insmod /lib/modules/2.6.32.9-default/arpt_mangle.ko
	insmod /lib/modules/2.6.32.9-default/arptable_filter.ko
	insmod /lib/modules/2.6.32.9-default/bcm203x.ko
	insmod /lib/modules/2.6.32.9-default/belkin_sa.ko
	insmod /lib/modules/2.6.32.9-default/bnep.ko
	insmod /lib/modules/2.6.32.9-default/bpa10x.ko
	insmod /lib/modules/2.6.32.9-default/btmrvl.ko
	insmod /lib/modules/2.6.32.9-default/btmrvl_sdio.ko
	insmod /lib/modules/2.6.32.9-default/btsdio.ko
	insmod /lib/modules/2.6.32.9-default/bfusb.ko
	insmod /lib/modules/2.6.32.9-default/cfg80211.ko
	insmod /lib/modules/2.6.32.9-default/ch341.ko
	insmod /lib/modules/2.6.32.9-default/cifs.ko
	insmod /lib/modules/2.6.32.9-default/cp210x.ko
	insmod /lib/modules/2.6.32.9-default/crc16.ko
	insmod /lib/modules/2.6.32.9-default/cyberjack.ko
	insmod /lib/modules/2.6.32.9-default/cypress_m8.ko
	insmod /lib/modules/2.6.32.9-default/digi_acceleport.ko
	insmod /lib/modules/2.6.32.9-default/empeg.ko
	insmod /lib/modules/2.6.32.9-default/ftdi_sio.ko
	insmod /lib/modules/2.6.32.9-default/funsoft.ko
	insmod /lib/modules/2.6.32.9-default/g_file_storage.ko
	insmod /lib/modules/2.6.32.9-default/garmin_gps.ko
	insmod /lib/modules/2.6.32.9-default/garp.ko
	insmod /lib/modules/2.6.32.9-default/hci_uart.ko
	insmod /lib/modules/2.6.32.9-default/hci_vhci.ko
	insmod /lib/modules/2.6.32.9-default/hidp.ko
	insmod /lib/modules/2.6.32.9-default/hid-wacom.ko
	insmod /lib/modules/2.6.32.9-default/hp4x.ko
	insmod /lib/modules/2.6.32.9-default/io_edgeport.ko
	insmod /lib/modules/2.6.32.9-default/io_ti.ko
	insmod /lib/modules/2.6.32.9-default/ip_tables.ko
	insmod /lib/modules/2.6.32.9-default/ipaq.ko
	insmod /lib/modules/2.6.32.9-default/ipt_addrtype.ko
	insmod /lib/modules/2.6.32.9-default/ipt_ah.ko
	insmod /lib/modules/2.6.32.9-default/ipt_ECN.ko
	insmod /lib/modules/2.6.32.9-default/ipt_LOG.ko
	insmod /lib/modules/2.6.32.9-default/ipt_REJECT.ko
	insmod /lib/modules/2.6.32.9-default/ipt_ULOG.ko
	insmod /lib/modules/2.6.32.9-default/iptable_filter.ko
	insmod /lib/modules/2.6.32.9-default/iptable_mangle.ko
	insmod /lib/modules/2.6.32.9-default/iptable_raw.ko
	insmod /lib/modules/2.6.32.9-default/ir-usb.ko
	insmod /lib/modules/2.6.32.9-default/iuu_phoenix.ko
	insmod /lib/modules/2.6.32.9-default/keyspan.ko
	insmod /lib/modules/2.6.32.9-default/kl5kusb105.ko
	insmod /lib/modules/2.6.32.9-default/kobil_sct.ko
	insmod /lib/modules/2.6.32.9-default/l2cap.ko
	insmod /lib/modules/2.6.32.9-default/llc.ko
	insmod /lib/modules/2.6.32.9-default/mac80211.ko
	insmod /lib/modules/2.6.32.9-default/mct_u232.ko
	insmod /lib/modules/2.6.32.9-default/mos7720.ko
	insmod /lib/modules/2.6.32.9-default/mos7840.ko
	insmod /lib/modules/2.6.32.9-default/moto_modem.ko
	insmod /lib/modules/2.6.32.9-default/navman.ko
	insmod /lib/modules/2.6.32.9-default/nfnetlink.ko
	insmod /lib/modules/2.6.32.9-default/nfnetlink_log.ko
	insmod /lib/modules/2.6.32.9-default/nls_utf8.ko
	insmod /lib/modules/2.6.32.9-default/omninet.ko
	insmod /lib/modules/2.6.32.9-default/opticon.ko
	insmod /lib/modules/2.6.32.9-default/option.ko
	insmod /lib/modules/2.6.32.9-default/oti6858.ko
	insmod /lib/modules/2.6.32.9-default/p8022.ko
	insmod /lib/modules/2.6.32.9-default/psnap.ko
	insmod /lib/modules/2.6.32.9-default/qcserial.ko
	insmod /lib/modules/2.6.32.9-default/safe_serial.ko
	insmod /lib/modules/2.6.32.9-default/sco.ko
	insmod /lib/modules/2.6.32.9-default/scsi_wait_scan.ko
	insmod /lib/modules/2.6.32.9-default/siemens_mpi.ko
	insmod /lib/modules/2.6.32.9-default/sierra.ko
	insmod /lib/modules/2.6.32.9-default/slow-work.ko
	insmod /lib/modules/2.6.32.9-default/softdog.ko
	insmod /lib/modules/2.6.32.9-default/spcp8x5.ko
	insmod /lib/modules/2.6.32.9-default/stp.ko
	insmod /lib/modules/2.6.32.9-default/symbolserial.ko
	insmod /lib/modules/2.6.32.9-default/rfcomm.ko
	insmod /lib/modules/2.6.32.9-default/ti_usb_3410_5052.ko
	insmod /lib/modules/2.6.32.9-default/tun.ko
	insmod /lib/modules/2.6.32.9-default/usb_debug.ko
	insmod /lib/modules/2.6.32.9-default/usbnet.ko
	insmod /lib/modules/2.6.32.9-default/usbserial.ko
	insmod /lib/modules/2.6.32.9-default/visor.ko
	insmod /lib/modules/2.6.32.9-default/whiteheat.ko
	insmod /lib/modules/2.6.32.9-default/wmt_kpad.ko
	insmod /lib/modules/2.6.32.9-default/x_tables.ko
	insmod /lib/modules/2.6.32.9-default/xt_CLASSIFY.ko
	insmod /lib/modules/2.6.32.9-default/xt_comment.ko
	insmod /lib/modules/2.6.32.9-default/xt_dccp.ko
	insmod /lib/modules/2.6.32.9-default/xt_dscp.ko
	insmod /lib/modules/2.6.32.9-default/xt_esp.ko
	insmod /lib/modules/2.6.32.9-default/xt_hashlimit.ko
	insmod /lib/modules/2.6.32.9-default/xt_HL.ko
	insmod /lib/modules/2.6.32.9-default/xt_iprange.ko
	insmod /lib/modules/2.6.32.9-default/xt_LED.ko
	insmod /lib/modules/2.6.32.9-default/xt_length.ko
	insmod /lib/modules/2.6.32.9-default/xt_limit.ko
	insmod /lib/modules/2.6.32.9-default/xt_mac.ko
	insmod /lib/modules/2.6.32.9-default/xt_MARK.ko
	insmod /lib/modules/2.6.32.9-default/xt_multiport.ko
	insmod /lib/modules/2.6.32.9-default/xt_NFLOG.ko
	insmod /lib/modules/2.6.32.9-default/xt_NFQUEUE.ko
	insmod /lib/modules/2.6.32.9-default/xt_osf.ko
	insmod /lib/modules/2.6.32.9-default/xt_owner.ko
	insmod /lib/modules/2.6.32.9-default/xt_pkttype.ko
	insmod /lib/modules/2.6.32.9-default/xt_quota.ko
	insmod /lib/modules/2.6.32.9-default/xt_RATEEST.ko
	insmod /lib/modules/2.6.32.9-default/xt_realm.ko
	insmod /lib/modules/2.6.32.9-default/xt_recent.ko
	insmod /lib/modules/2.6.32.9-default/xt_SECMARK.ko
   insmod /lib/modules/2.6.32.9-default/xt_statistic.ko
	insmod /lib/modules/2.6.32.9-default/xt_TCPMSS.ko
	insmod /lib/modules/2.6.32.9-default/xt_tcpudp.ko
	insmod /lib/modules/2.6.32.9-default/xt_time.ko
	insmod /lib/modules/2.6.32.9-default/xt_u32.ko

# Backward compatibility
    symlink /system/etc /etc
    symlink /sys/kernel/debug /d

# create mountpoints
    mkdir /mnt 0775 root system
    mkdir /sdcard 0000 system system
    symlink /sdcard /mnt/sdcard
    mkdir /data 0771 system system
    mkdir /cache 0770 system cache
    mkdir /config 0500 root root
	
    # Directory for putting things only root should see.
    mkdir /mnt/secure 0700 root root

    # Directory for staging bindmounts
    mkdir /mnt/secure/staging 0700 root root

    # Directory-target for where the secure container
    # imagefile directory will be bind-mounted
    mkdir /mnt/secure/asec  0700 root root

    # Secure container public mount points.
    mkdir /mnt/asec  0700 root system
    mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000

    mount rootfs rootfs / rw remount noatime nodiratime

# mount /data mtd partition
    mount yaffs2 mtd@android-data /data nosuid nodev noatime nodiratime
    chown system system /data
    chmod 0771 /data

# Create dump dir and collect dumps.
    # Do this before we mount cache so eventually we can use cache for
    # storing dumps on platforms which do not have a dedicated dump partition.
    mkdir /data/dontpanic
    chown root log /data/dontpanic
    chmod 0750 /data/dontpanic

# Collect apanic data, free resources and re-arm trigger
    copy /proc/apanic_console /data/dontpanic/apanic_console
    chown root log /data/dontpanic/apanic_console
    chmod 0640 /data/dontpanic/apanic_console

    copy /proc/apanic_threads /data/dontpanic/apanic_threads
    chown root log /data/dontpanic/apanic_threads
    chmod 0640 /data/dontpanic/apanic_threads

    write /proc/apanic_console 1

# mount /cache mtd partition
    mount yaffs2 mtd@android-cache /cache nosuid nodev noatime nodiratime
    chown system cache /cache
    chmod 0770 /cache

# mount /LocalDisk mtd partition
    mkdir /LocalDisk
    mount yaffs2 /dev/block/mtdblock16 /LocalDisk rw
    chown system system /LocalDisk
    chmod 777 /LocalDisk

# change permissions on vmallocinfo so we can grab it from bugreports
    chown root log /proc/vmallocinfo
    chmod 0440 /proc/vmallocinfo

# change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
    chown root system /proc/kmsg
    chmod 0440 /proc/kmsg
    chown root system /proc/sysrq-trigger
    chmod 0220 /proc/sysrq-trigger

# create basic filesystem structure
    mkdir /data/misc 01771 system misc
    mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
    mkdir /data/misc/bluetooth 0770 system system
    mkdir /data/misc/keystore 0700 keystore keystore
    mkdir /data/misc/vpn 0770 system system
    mkdir /data/misc/systemkeys 0700 system system
    mkdir /data/misc/vpn/profiles 0770 system system
    # give system access to wpa_supplicant.conf for backup and restore
    mkdir /data/misc/wifi 0770 wifi wifi
    chmod 0770 /data/misc/wifi
    chmod 0660 /data/misc/wifi/wpa_supplicant.conf
    mkdir /data/misc/wifi/sockets 0770 wifi wifi
    mkdir /data/system 0775 system system
    mkdir /data/system/wpa_supplicant 0770 wifi wifi
    mkdir /data/misc/dhcp 0770 dhcp dhcp
    chown dhcp dhcp /data/misc/dhcp
    chown wifi wifi /system/etc/wifi/wpa_supplicant.conf
    chmod 0660 /system/etc/wifi/wpa_supplicant.conf
    chmod 0755 /system/etc/dhcpcd/dhcpcd-run-hooks
    chmod 0777 /system/etc/ppp/peers/cmnet

    mkdir /data/local 0771 shell shell
    mkdir /data/local/tmp 0771 shell shell
    mkdir /data/data 0771 system system
    mkdir /data/app-private 0771 system system
    mkdir /data/app 0771 system system
    mkdir /data/property 0700 root root
    mkdir /data/ppp 0700 shell shell
    chmod 0777 /data/ppp
    chmod 0777 /sys/class/leds/lcd-backlight/brightness

    mkdir /data/wmtpref 0777  media media
    chmod 0777 /data/wmtpref

    # create dalvik-cache and double-check the perms
    mkdir /data/dalvik-cache 0771 system system
    chown system system /data/dalvik-cache
    chmod 0771 /data/dalvik-cache

    # create the lost+found directories, so as to enforce our permissions
    mkdir /data/lost+found 0770
    mkdir /cache/lost+found 0770

    # double check the perms, in case lost+found already exists, and set owner
    chown root root /data/lost+found
    chmod 0770 /data/lost+found
    chown root root /cache/lost+found
    chmod 0770 /cache/lost+found

    # create mountpoint for usb storage
    mkdir /udisk 0777

    chmod 0777 /dev/wmtts
    chmod 0777 /dev/wmtgpio
    chmod 0777 /dev/mtd/mtd0
    chmod 0666 /dev/graphics/fb0
    chmod 0666 /dev/fb0
    chmod 0777 /system/etc/wmt/pm.sh
    chmod 0777 /proc/boot-splash
    chmod 0777 /proc/lcd-bltlevel
    # for 2-aix gsensor mxc622x
    device /dev/ecompass_ctrl 0666 root root
    device /dev/mxc622x 0666  root root
    mkdir  /data/misc/sensors 0777 system system
    chmod 0666 /dev/ecompass_ctrl
    chmod 0666 /dev/mxc622x
	
on boot
# basic network init
    ifup lo
    hostname localhost
    domainname localdomain

# Set init's forked children's oom_adj.
    write /proc/1/oom_adj -16

# set RLIMIT_NICE to allow priorities from 19 to -20
    setrlimit 13 40 40

# Define the oom_adj values for the classes of processes that can be
# killed by the kernel.
    setprop ro.FOREGROUND_APP_ADJ 0
    setprop ro.VISIBLE_APP_ADJ 1
    setprop ro.HOME_APP_ADJ 2
    setprop ro.PERCEPTIBLE_APP_ADJ 3
    setprop ro.HEAVY_WEIGHT_APP_ADJ 4
    setprop ro.SECONDARY_SERVER_ADJ 5
    setprop ro.BACKUP_APP_ADJ 7
    setprop ro.HIDDEN_APP_MIN_ADJ 9
    setprop ro.CONTENT_PROVIDER_ADJ 14
    setprop ro.EMPTY_APP_ADJ 15

# Define the memory thresholds at which the above process classes will
# be killed. These numbers are in pages (4k).
    setprop ro.FOREGROUND_APP_MEM 1024
    setprop ro.VISIBLE_APP_MEM 2048
    setprop ro.HOME_APP_MEM 3072
    setprop ro.PERCEPTIBLE_APP_MEM 4096
    setprop ro.HEAVY_WEIGHT_APP_MEM 5120
    setprop ro.SECONDARY_SERVER_MEM 6144
    setprop ro.BACKUP_APP_MEM 7168
    setprop ro.HIDDEN_APP_MEM 8192
    setprop ro.CONTENT_PROVIDER_MEM 10240
    setprop ro.EMPTY_APP_MEM 20480

    write /sys/module/lowmemorykiller/parameters/adj 0,1,2,4,9,15
    write /sys/module/lowmemorykiller/parameters/minfree 1024,2048,3072,5120,8192,20480
	
# Add by Vincent Li to support ALSA
    setprop alsa.mixer.playback.master Master
    setprop alsa.mixer.capture.master Capture
    setprop alsa.mixer.playback.earpiece Master
    setprop alsa.mixer.capture.earpiece Capture
    setprop alsa.mixer.playback.headset Master
    setprop alsa.mixer.playback.speaker Master
    symlink /dev/snd/pcmC0D0c /dev/pcmC0D0c
    symlink /dev/snd/pcmC0D0p /dev/pcmC0D0p
    symlink /dev/snd/controlC0 /dev/controlC0
    symlink /dev/snd/timer /dev/timer
    chmod 0777 /dev/pcmC0D0c
    chmod 0777 /dev/pcmC0D0p
    chmod 0777 /dev/controlC0
    chmod 0777 /dev/timer
    chown root audio /dev/snd/controlC0
    chown root audio /dev/snd/pcmC0D0c
    chown root audio /dev/snd/pcmC0D0p
    chown root audio /dev/snd/timer

# Add by Kevin to support gps
    chmod 0777 /dev/ttyUSB5
    device /dev/ttyUSB5 0777 root root
    chmod 0777 /dev/ttyS1
    device /dev/ttyS1 0777 root root
    chmod 0777 /dev/ttyS0
    device /dev/ttyS0 0777 root root
    chmod 0666 /dev/ttyACM10
    device /dev/ttyACM10 0666 radio radio
# in case 10 is used    
    chmod 0666 /dev/ttyACM11
    device /dev/ttyACM11 0666 radio radio  
    
    chmod 0666 /dev/ttyACM12
    device /dev/ttyACM12 0666 radio radio  
    chmod 0666 /dev/ttyACM13
    device /dev/ttyACM13 0666 radio radio          
 

# Add by Flash to support pppoe
    chmod 0777 /dev/ppp

# Devices
    device /dev/wmtts 0777 root root
    device /dev/sensor_ctrl 0777 root root
    device /dev/pixcir_i2c_ts0 0777 root root
    device /dev/IT7260 0777 root root

# Permissions for System Server and daemons.
    chown radio system /sys/android_power/state
    chown radio system /sys/android_power/request_state
    chown radio system /sys/android_power/acquire_full_wake_lock
    chown radio system /sys/android_power/acquire_partial_wake_lock
    chown radio system /sys/android_power/release_wake_lock
    chown radio system /sys/power/state
    chown radio system /sys/power/wake_lock
    chown radio system /sys/power/wake_unlock
    chmod 0660 /sys/power/state
    chmod 0660 /sys/power/wake_lock
    chmod 0660 /sys/power/wake_unlock
    chown system system /sys/class/timed_output/vibrator/enable
    chown system system /sys/class/leds/keyboard-backlight/brightness
    chown system system /sys/class/leds/lcd-backlight/brightness
    chown system system /sys/class/leds/button-backlight/brightness
    chown system system /sys/class/leds/jogball-backlight/brightness
    chown system system /sys/class/leds/red/brightness
    chown system system /sys/class/leds/green/brightness
    chown system system /sys/class/leds/blue/brightness
    chown system system /sys/class/leds/red/device/grpfreq
    chown system system /sys/class/leds/red/device/grppwm
    chown system system /sys/class/leds/red/device/blink
    chown system system /sys/class/leds/red/brightness
    chown system system /sys/class/leds/green/brightness
    chown system system /sys/class/leds/blue/brightness
    chown system system /sys/class/leds/red/device/grpfreq
    chown system system /sys/class/leds/red/device/grppwm
    chown system system /sys/class/leds/red/device/blink
    chown system system /sys/class/timed_output/vibrator/enable
    chown system system /sys/module/sco/parameters/disable_esco
    chown system system /sys/kernel/ipv4/tcp_wmem_min
    chown system system /sys/kernel/ipv4/tcp_wmem_def
    chown system system /sys/kernel/ipv4/tcp_wmem_max
    chown system system /sys/kernel/ipv4/tcp_rmem_min
    chown system system /sys/kernel/ipv4/tcp_rmem_def
    chown system system /sys/kernel/ipv4/tcp_rmem_max
    chown root radio /proc/cmdline

# Root permissions
chown root root /system/xbin/su
chmod 6755 /system/xbin/su

    class_start default

## Daemon processes to be run by init.
# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd
    disabled

on property:persist.service.adb.enable=1
    start adbd

on property:persist.service.adb.enable=0
    stop adbd

service servicemanager /system/bin/servicemanager
    user system
    critical
    onrestart restart zygote
    onrestart restart media

service vold /system/bin/vold
    socket vold stream 0660 root mount
    ioprio be 2

service netd /system/bin/netd
    socket netd stream 0660 root system

service debuggerd /system/bin/debuggerd
    disabled
	
on property:ro.debuggable=1
    start debuggerd

# start ril
on property:ril.power.on=1
	start powerxgmodemOn
	
on property:ril.power.on=0
	stop ril-daemon
	stop mux
	start stopMux
	start powerxgmodemOff	
	
on property:ril.mux.start=1
	start mux
		
on property:ril.both.stop=1
	stop ril-daemon
	stop mux
	start stopMux

on property:ril.daemon.start=1
	start ril-daemon

on property:ril.daemon.start=0
	stop ril-daemon

service powerxgmodemOnce /system/etc/modemenable.sh 2
	oneshot	
	
service powerxgmodemOn /system/etc/modemenable.sh 1
	oneshot
	disabled
	
service powerxgmodemOff /system/etc/modemenable.sh 0
	oneshot
	disabled

service stopMux /busybox/bin/killall -9 gsmMuxd
	oneshot
	disabled

service mux /system/bin/gsmMuxd -p /dev/ttyACM10 -w -r -s /dev/mux /dev/ptmx /dev/ptmx -d -b 460800 -m generic
    user radio
    group radio cache inet misc
    disabled
    
on property:ril.killpppd.start=1
	start pppd_unique       

on property:ril.killchat.start=1      
	start chat_unique       

service pppd_unique /busybox/bin/killall -9 pppd
    oneshot                                     
    user root                                   
    disabled                                    

service chat_unique /busybox/bin/killall -9 chat
    oneshot                                     
    user root                                   
    disabled      

on property:ril.gprs.start=1
	start pppd-gprs       

on property:ril.gprs.start=0
	stop pppd-gprs  

service pppd-gprs /system/etc/ppp/init.gprs-pppd
    oneshot
    user root
    group radio cache inet misc
    disabled

service ril-daemon /system/bin/rild
    socket rild stream 660 root radio
    socket rild-debug stream 660 radio system
    user root
    group radio cache inet misc audio
    disabled
# end ril

service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
    socket zygote stream 666
    onrestart write /sys/android_power/request_state wake
    onrestart write /sys/power/state on
    onrestart restart media
	onrestart restart netd

service media /system/bin/mediaserver
    user media
    group system audio camera graphics inet net_bt net_bt_admin net_raw
    ioprio rt 4

service bootanim /system/bin/bootanimation
    user graphics
    group graphics
    disabled
    oneshot

# for wifi usage -start
service ifup_ralink /system/bin/ifconfig ra0 up
   disabled
   oneshot

service ifdown_ralink /system/bin/ifconfig ra0 up
   disabled
   oneshot

service dhcpcd /system/bin/dhcpcd -d -f /system/etc/dhcpcd/android.conf ra0
   oneshot

service ethdhcpcd /system/bin/dhcpcd -d -f /system/etc/dhcpcd/android.conf eth0
   oneshot

service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ira0 -c /data/misc/wifi/wpa_supplicant.conf -dd
   disabled
   group wifi
   oneshot
# for wifi usage -end

service wmt_adb /system/bin/sh /system/etc/wmt/script/rmfsg.sh
    disabled
    oneshot    

service wmt_fsg /system/bin/sh /system/etc/wmt/script/rmadb.sh
    disabled
    oneshot

service wmt_rmusbd /system/bin/sh /system/etc/wmt/script/rmusb.sh
    disabled
    oneshot    

service wmt_initusb /system/bin/sh /system/etc/wmt/script/init_usb.sh
    disabled
    oneshot

service wmt_usbfs /system/bin/sh /system/etc/wmt/script/usbfs.sh
    disabled
    oneshot
    
service poweroff /bin/sh /system/etc/wmt/poweroff.sh
   disabled
   group system
   oneshot

service installd /system/bin/installd
    socket installd stream 600 system system

service flash_recovery /system/etc/install-recovery.sh
    oneshot

service racoon /system/bin/racoon
    socket racoon stream 600 system system
    # racoon will setuid to vpn after getting necessary resources.
    group net_admin
    disabled
    oneshot

service mtpd /system/bin/mtpd
    socket mtpd stream 600 system system
    user vpn
    group vpn net_admin net_raw
    disabled
    oneshot

service keystore /system/bin/keystore /data/misc/keystore
    user keystore
    group keystore
    socket keystore stream 666

service dumpstate /system/bin/dumpstate -s
    socket dumpstate stream 0660 shell log
    disabled
    oneshot

service insert_modules /system/etc/modules.sh
    oneshot

# for wmt photo/video/music thumbnail/metadata background service
service wmtserver /system/bin/wmtserver
    socket wmtdb stream 0666 root root
    disabled
	
service pppd /system/bin/pppd
	disabled

service update_route /bin/sh /system/etc/dhcpcd/test.sh
    disable
    oneshot

on property:dhcp.route.change=1
    start update_route

service initscript /system/etc/initscript.sh
    oneshot

service cleanup /system/etc/cleanup.sh
    disabled
    oneshot

on property:dev.bootcomplete=1
    start cleanup

on property:dev.bootcomplete=1
    start wmt_initusb

#for wmt test mode of usb filesystem
on property:dev.bootcomplete=1
    start wmt_usbfs

# VPP settings
   #Default value was 26000000
   #Choose 33000000, 35000000 (recommended) or 40000000
    write /proc/sys/vpp/pixel_clock 40000000
   #error skipping
    write /proc/sys/vpp/vpu_err_skip 1
   #set max framebuffers
    write /proc/sys/vpp/disp_fb_max 2

# Setup partitions
# flag partitions as non-rotational and increase their cache
#
write /sys/block/loop0/queue/rotational 0
write /sys/block/loop0/bdi/read_ahead_kb 256

write /sys/block/loop1/queue/rotational 0
write /sys/block/loop1/bdi/read_ahead_kb 256

write /sys/block/loop2/queue/rotational 0
write /sys/block/loop2/bdi/read_ahead_kb 256

write /sys/block/loop3/queue/rotational 
write /sys/block/loop3/bdi/read_ahead_kb 256

write /sys/block/loop4/queue/rotational 0
write /sys/block/loop4/bdi/read_ahead_kb 256

write /sys/block/loop5/queue/rotational 0
write /sys/block/loop5/bdi/read_ahead_kb 256

write /sys/block/loop6/queue/rotational 0
write /sys/block/loop6/bdi/read_ahead_kb 256

write /sys/block/loop7/queue/rotational 0
write /sys/block/loop7/bdi/read_ahead_kb 256
#
write /sys/block/nbd0/queue/rotational 0
write /sys/block/nbd0/bdi/read_ahead_kb 256

write /sys/block/nbd1/queue/rotational 0
write /sys/block/nbd1/bdi/read_ahead_kb 256

write /sys/block/nbd2/queue/rotational 0
write /sys/block/nbd2/bdi/read_ahead_kb 256

write /sys/block/nbd3/queue/rotational 0
write /sys/block/nbd3/bdi/read_ahead_kb 256

write /sys/block/nbd4/queue/rotational 0
write /sys/block/nbd4/bdi/read_ahead_kb 256

write /sys/block/nbd5/queue/rotational 0
write /sys/block/nbd5/bdi/read_ahead_kb 256

write /sys/block/nbd6/queue/rotational 0
write /sys/block/nbd6/bdi/read_ahead_kb 256

write /sys/block/nbd7/queue/rotational 0
write /sys/block/nbd7/bdi/read_ahead_kb 256

write /sys/block/nbd8/queue/rotational 0
write /sys/block/nbd8/queue/read_ahead_kb 256
write /sys/block/nbd8/bdi/read_ahead_kb 256

write /sys/block/nbd9/queue/rotational 0
write /sys/block/nbd9/bdi/read_ahead_kb 256

write /sys/block/nbd10/queue/rotational 0
write /sys/block/nbd10/bdi/read_ahead_kb 256

write /sys/block/nbd11/queue/rotational 0
write /sys/block/nbd11/bdi/read_ahead_kb 256

write /sys/block/nbd12/queue/rotational 0
write /sys/block/nbd12/bdi/read_ahead_kb 256

write /sys/block/nbd13/queue/rotational 0
write /sys/block/nbd13/bdi/read_ahead_kb 256

write /sys/block/nbd14/queue/rotational 0
write /sys/block/nbd14/bdi/read_ahead_kb 256

write /sys/block/nbd15/queue/rotational 0
write /sys/block/nbd15/bdi/read_ahead_kb 256
#
write /sys/block/mtdblock0/queue/rotational 0
write /sys/block/mtdblock0/bdi/read_ahead_kb 256

write /sys/block/mtdblock1/queue/rotational 0
write /sys/block/mtdblock1/bdi/read_ahead_kb 256

write /sys/block/mtdblock2/queue/rotational 0
write /sys/block/mtdblock2/bdi/read_ahead_kb 256

write /sys/block/mtdblock3/queue/rotational 0
write /sys/block/mtdblock3/bdi/read_ahead_kb 256

write /sys/block/mtdblock4/queue/rotational 0
write /sys/block/mtdblock4/bdi/read_ahead_kb 256

write /sys/block/mtdblock5/queue/rotational 0
write /sys/block/mtdblock5/bdi/read_ahead_kb 256

write /sys/block/mtdblock6/queue/rotational 0
write /sys/block/mtdblock6/bdi/read_ahead_kb 256

write /sys/block/mtdblock7/queue/rotational 0
write /sys/block/mtdblock7/bdi/read_ahead_kb 256

write /sys/block/mtdblock8/queue/rotational 0
write /sys/block/mtdblock8/bdi/read_ahead_kb 256

write /sys/block/mtdblock9/queue/rotational 0
write /sys/block/mtdblock9/bdi/read_ahead_kb 256

write /sys/block/mtdblock10/queue/rotational 0
write /sys/block/mtdblock10/bdi/read_ahead_kb 256

write /sys/block/mtdblock11/queue/rotational 0
write /sys/block/mtdblock11/bdi/read_ahead_kb 256

write /sys/block/mtdblock12/queue/rotational 0
write /sys/block/mtdblock12/bdi/read_ahead_kb 256

write /sys/block/mtdblock13/queue/rotational 0
write /sys/block/mtdblock13/bdi/read_ahead_kb 256

write /sys/block/mtdblock14/queue/rotational 0
write /sys/block/mtdblock14/bdi/read_ahead_kb 256

write /sys/block/mtdblock15/queue/rotational 0
write /sys/block/mtdblock15/bdi/read_ahead_kb 256

write /sys/block/mtdblock16/queue/rotational 0
write /sys/block/mtdblock16/bdi/read_ahead_kb 256
#
write /sys/block/ram0/queue/rotational 0
write /sys/block/ram0/bdi/read_ahead_kb 256

write /sys/block/ram1/queue/rotational 0
write /sys/block/ram1/bdi/read_ahead_kb 256

write /sys/block/ram2/queue/rotational 0
write /sys/block/ram2/bdi/read_ahead_kb 256

write /sys/block/ram3/queue/rotational 0
write /sys/block/ram3/bdi/read_ahead_kb 256

write /sys/block/ram4/queue/rotational 0
write /sys/block/ram4/bdi/read_ahead_kb 256

write /sys/block/ram5/queue/rotational 0
write /sys/block/ram5/bdi/read_ahead_kb 256

write /sys/block/ram6/queue/rotational 0
write /sys/block/ram6/bdi/read_ahead_kb 256

write /sys/block/ram7/queue/rotational 0
write /sys/block/ram7/bdi/read_ahead_kb 256

write /sys/block/ram8/queue/rotational 0
write /sys/block/ram8/bdi/read_ahead_kb 256

write /sys/block/ram9/queue/rotational 0
write /sys/block/ram9/bdi/read_ahead_kb 256

write /sys/block/ram10/queue/rotational 0
write /sys/block/ram10/bdi/read_ahead_kb 256

write /sys/block/ram11/queue/rotational 0
write /sys/block/ram11/bdi/read_ahead_kb 256

write /sys/block/ram12/queue/rotational 0
write /sys/block/ram12/bdi/read_ahead_kb 256

write /sys/block/ram13/queue/rotational 0
write /sys/block/ram13/bdi/read_ahead_kb 256

write /sys/block/ram14/queue/rotational 0
write /sys/block/ram14/bdi/read_ahead_kb 256

write /sys/block/ram15/queue/rotational 0
write /sys/block/ram15/bdi/read_ahead_kb 256
#
write /sys/devices/virtual/bdi/default/read_ahead_kb 256
#
write /sys/block/nbd0/queue/nr_requests 512
write /sys/block/nbd1/queue/nr_requests 512
write /sys/block/nbd2/queue/nr_requests 512
write /sys/block/nbd3/queue/nr_requests 512
write /sys/block/nbd4/queue/nr_requests 512
write /sys/block/nbd5/queue/nr_requests 512
write /sys/block/nbd6/queue/nr_requests 512
write /sys/block/nbd7/queue/nr_requests 512
write /sys/block/nbd8/queue/nr_requests 512
write /sys/block/nbd9/queue/nr_requests 512
write /sys/block/nbd10/queue/nr_requests 512
write /sys/block/nbd11/queue/nr_requests 512
write /sys/block/nbd12/queue/nr_requests 512
write /sys/block/nbd13/queue/nr_requests 512
write /sys/block/nbd14/queue/nr_requests 512
write /sys/block/nbd15/queue/nr_requests 512

write /sys/block/mtdblock0/queue/nr_requests 512
write /sys/block/mtdblock1/queue/nr_requests 512
write /sys/block/mtdblock2/queue/nr_requests 512
write /sys/block/mtdblock3/queue/nr_requests 512
write /sys/block/mtdblock4/queue/nr_requests 512
write /sys/block/mtdblock5/queue/nr_requests 512
write /sys/block/mtdblock6/queue/nr_requests 512
write /sys/block/mtdblock7/queue/nr_requests 512
write /sys/block/mtdblock8/queue/nr_requests 512
write /sys/block/mtdblock9/queue/nr_requests 512
write /sys/block/mtdblock10/queue/nr_requests 512
write /sys/block/mtdblock11/queue/nr_requests 512
write /sys/block/mtdblock12/queue/nr_requests 512
write /sys/block/mtdblock13/queue/nr_requests 512
write /sys/block/mtdblock14/queue/nr_requests 512
write /sys/block/mtdblock15/queue/nr_requests 512
write /sys/block/mtdblock16/queue/nr_requests 512
# use noop scheduler
write /sys/block/mtdblock0/queue/scheduler noop
write /sys/block/mtdblock1/queue/scheduler noop
write /sys/block/mtdblock2/queue/scheduler noop
write /sys/block/mtdblock3/queue/scheduler noop
write /sys/block/mtdblock4/queue/scheduler noop
write /sys/block/mtdblock5/queue/scheduler noop
write /sys/block/mtdblock6/queue/scheduler noop
write /sys/block/mtdblock7/queue/scheduler noop
write /sys/block/mtdblock8/queue/scheduler noop
write /sys/block/mtdblock9/queue/scheduler noop
write /sys/block/mtdblock10/queue/scheduler noop
write /sys/block/mtdblock11/queue/scheduler noop
write /sys/block/mtdblock12/queue/scheduler noop
write /sys/block/mtdblock13/queue/scheduler noop
write /sys/block/mtdblock14/queue/scheduler noop
write /sys/block/mtdblock15/queue/scheduler noop
write /sys/block/mtdblock16/queue/scheduler noop
#
write /sys/block/nbd0/queue/scheduler noop
write /sys/block/nbd1/queue/scheduler noop
write /sys/block/nbd2/queue/scheduler noop
write /sys/block/nbd3/queue/scheduler noop
write /sys/block/nbd4/queue/scheduler noop
write /sys/block/nbd5/queue/scheduler noop
write /sys/block/nbd6/queue/scheduler noop
write /sys/block/nbd7/queue/scheduler noop
write /sys/block/nbd8/queue/scheduler noop
write /sys/block/nbd9/queue/scheduler noop
write /sys/block/nbd10/queue/scheduler noop
write /sys/block/nbd11/queue/scheduler noop
write /sys/block/nbd12/queue/scheduler noop
write /sys/block/nbd13/queue/scheduler noop
write /sys/block/nbd14/queue/scheduler noop
write /sys/block/nbd15/queue/scheduler noop
# SD card setup
write /sys/block/mmcblk0/queue/rotational 0
write /sys/block/mmcblk0/bdi/read_ahead_kb 1024
write /sys/block/mmcblk0/queue/nr_requests 512
write /sys/block/mmcblk0/queue/scheduler noop

Догадайтесь, что из этого вышло???
Правильно, чуть не получил качественный "кирпич"...
Как этого я не хотел, но пришлось делать трепанацию пациенту.
При вскрытии надеялся увидеть надпись с названием модели и производителя...
Изображение
Шиш! ни одной наклейки с маркировкой, только QC PASS (что-то типа ОТК).
Ну мне собственно нужна была информации о плате и флеш-памяти загрузчика, для замены повреждённых файлов в последней.
По материнской плате WMS8125B девайс идентифицировал как EKEN M009S.
Последнюю прошивку ставил под номерами 20 и 23, теперь только вспомнил, что год назад ставил точно под номером 1 (почему сейчас изменил свой выбор - ХЗ).
Так как всего необходимого для реанимации загрузчика под рукой не оказалось, решился на ещё один эксперимент.
Нашёл схему планшета, проверил личность подозреваемого по микросхемам, всё гуд - он!
Нашёл сайт производителя, зашёл к ним на ftp-сервер(заменил http на ftp в адресе), нашёл родную прошивку M009S_multitouch_1.5.5 (ахтунг! там также имеется прошивка для приборов у которых нет поддержки нескольки касаний M009S_singletouch_1.5.5 - не перепутайте!)
Загрузил с пятой попытки(постоянный обрыв) уже при помощи качка.
(барабанная дробь!!!) Вставил SD-карту, включил прибор, он подумал немного, подмигнул красно-зелёным глазом, и... установка началась.
Полюбовавшись немного на родной интерфейс, вспомнил из-за чего собственно весь этот сыр-бор...
Решил снова прошить на Universal Uberoid v12.1, но уже под правильным номером и с правильным добавлением дополнительных модулей в init.rc .
Изменил файл так:

Код: Выделить всё

## This file, and all other files associated with the 'Uberoid firmware', contain
## modifications that are the intellectual property of HardcoreHacker, leeh33 and
## the TechKnow forum community. Selling the 'Uberoid firmware' for profit is unacceptable.

on init

sysclktz 0

loglevel 1

# setup the global environment
    export PATH /sbin:/bin:/system/sbin:/system/bin:/system/xbin:/busybox/sbin:/busybox/bin
    export LD_LIBRARY_PATH /system/lib
    export ANDROID_BOOTLOGO 1
    export ANDROID_ROOT /system
    export ANDROID_ASSETS /system/app
    export ANDROID_DATA /data
    export EXTERNAL_STORAGE /sdcard
    export ASEC_MOUNTPOINT /mnt/asec
    export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
    export HOME /

# Backward compatibility
    symlink /system/etc /etc
    symlink /sys/kernel/debug /d

# insmod sd module	
	insmod /lib/modules/2.6.32.9-default/pl2303.ko
	insmod /lib/modules/2.6.32.9-default/bluetooth.ko
	insmod /lib/modules/2.6.32.9-default/btusb.ko
	
# Для добавления нужного модуля, копировать и вставить выше! 
# добавить путь insmod /lib/modules/2.6.32.9-default/
	8021q.ko
	aircable.ko
	ark3116.ko
	arp_tables.ko
	arpt_mangle.ko
	arptable_filter.ko
	bcm203x.ko
	belkin_sa.ko
	bluetooth.ko
	bnep.ko
	bpa10x.ko
	btmrvl.ko
	bfusb.ko
	btmrvl_sdio.ko
	btsdio.ko
	btusb.ko
	cfg80211.ko
	ch341.ko
	cifs.ko
	cp210x.ko
	crc16.ko
	cyberjack.ko
	cypress_m8.ko
	digi_acceleport.ko
	empeg.ko
	ftdi_sio.ko
	funsoft.ko
	g_file_storage.ko
	garmin_gps.ko
	garp.ko
	hci_uart.ko
	hci_vhci.ko
	hidp.ko
	hid-wacom.ko
	hp4x.ko
	io_edgeport.ko
	io_ti.ko
	ip_tables.ko
	ipaq.ko
	ipt_addrtype.ko
	ipt_ah.ko
	ipt_ECN.ko
	ipt_LOG.ko
	ipt_REJECT.ko
	ipt_ULOG.ko
	iptable_filter.ko
	iptable_mangle.ko
	iptable_raw.ko
	ir-usb.ko
	iuu_phoenix.ko
	keyspan.ko
	kl5kusb105.ko
	kobil_sct.ko
	l2cap.ko
	llc.ko
	mac80211.ko
	mct_u232.ko
	mos7720.ko
	mos7840.ko
	moto_modem.ko
	navman.ko
	nfnetlink.ko
	nfnetlink_log.ko
	nls_utf8.ko
	omninet.ko
	opticon.ko
	option.ko
	oti6858.ko
	p8022.ko
	pl2303.ko
	psnap.ko
	qcserial.ko
	safe_serial.ko
	sco.ko
	scsi_wait_scan.ko
	siemens_mpi.ko
	sierra.ko
	slow-work.ko
	softdog.ko
	spcp8x5.ko
	stp.ko
	symbolserial.ko
	rfcomm.ko
	ti_usb_3410_5052.ko
	tun.ko
	usb_debug.ko
	usbnet.ko
	usbserial.ko
	visor.ko
	whiteheat.ko
	wmt_kpad.ko
	x_tables.ko
	xt_CLASSIFY.ko
	xt_comment.ko
	xt_dccp.ko
	xt_dscp.ko
	xt_esp.ko
	xt_hashlimit.ko
	xt_HL.ko
	xt_iprange.ko
	xt_LED.ko
	xt_length.ko
	xt_limit.ko
	xt_mac.ko
	xt_MARK.ko
	xt_multiport.ko
	xt_NFLOG.ko
	xt_NFQUEUE.ko
	xt_osf.ko
	xt_owner.ko
	xt_pkttype.ko
	xt_quota.ko
	xt_RATEEST.ko
	xt_realm.ko
	xt_recent.ko
	xt_SECMARK.ko
    xt_statistic.ko
	xt_TCPMSS.ko
	xt_tcpudp.ko
	xt_time.ko
	xt_u32.ko

# create mountpoints
    mkdir /mnt 0775 root system
    mkdir /sdcard 0000 system system
    symlink /sdcard /mnt/sdcard
    mkdir /data 0771 system system
    mkdir /cache 0770 system cache
    mkdir /config 0500 root root
	
    # Directory for putting things only root should see.
    mkdir /mnt/secure 0700 root root

    # Directory for staging bindmounts
    mkdir /mnt/secure/staging 0700 root root

    # Directory-target for where the secure container
    # imagefile directory will be bind-mounted
    mkdir /mnt/secure/asec  0700 root root

    # Secure container public mount points.
    mkdir /mnt/asec  0700 root system
    mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000

    mount rootfs rootfs / rw remount noatime nodiratime

# mount /data mtd partition
    mount yaffs2 mtd@android-data /data nosuid nodev noatime nodiratime
    chown system system /data
    chmod 0771 /data

# Create dump dir and collect dumps.
    # Do this before we mount cache so eventually we can use cache for
    # storing dumps on platforms which do not have a dedicated dump partition.
    mkdir /data/dontpanic
    chown root log /data/dontpanic
    chmod 0750 /data/dontpanic

# Collect apanic data, free resources and re-arm trigger
    copy /proc/apanic_console /data/dontpanic/apanic_console
    chown root log /data/dontpanic/apanic_console
    chmod 0640 /data/dontpanic/apanic_console

    copy /proc/apanic_threads /data/dontpanic/apanic_threads
    chown root log /data/dontpanic/apanic_threads
    chmod 0640 /data/dontpanic/apanic_threads

    write /proc/apanic_console 1

# mount /cache mtd partition
    mount yaffs2 mtd@android-cache /cache nosuid nodev noatime nodiratime
    chown system cache /cache
    chmod 0770 /cache

# mount /LocalDisk mtd partition
    mkdir /LocalDisk
    mount yaffs2 /dev/block/mtdblock16 /LocalDisk rw
    chown system system /LocalDisk
    chmod 777 /LocalDisk

# change permissions on vmallocinfo so we can grab it from bugreports
    chown root log /proc/vmallocinfo
    chmod 0440 /proc/vmallocinfo

# change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
    chown root system /proc/kmsg
    chmod 0440 /proc/kmsg
    chown root system /proc/sysrq-trigger
    chmod 0220 /proc/sysrq-trigger

# create basic filesystem structure
    mkdir /data/misc 01771 system misc
    mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
    mkdir /data/misc/bluetooth 0770 system system
    mkdir /data/misc/keystore 0700 keystore keystore
    mkdir /data/misc/vpn 0770 system system
    mkdir /data/misc/systemkeys 0700 system system
    mkdir /data/misc/vpn/profiles 0770 system system
    # give system access to wpa_supplicant.conf for backup and restore
    mkdir /data/misc/wifi 0770 wifi wifi
    chmod 0770 /data/misc/wifi
    chmod 0660 /data/misc/wifi/wpa_supplicant.conf
    mkdir /data/misc/wifi/sockets 0770 wifi wifi
    mkdir /data/system 0775 system system
    mkdir /data/system/wpa_supplicant 0770 wifi wifi
    mkdir /data/misc/dhcp 0770 dhcp dhcp
    chown dhcp dhcp /data/misc/dhcp
    chown wifi wifi /system/etc/wifi/wpa_supplicant.conf
    chmod 0660 /system/etc/wifi/wpa_supplicant.conf
    chmod 0755 /system/etc/dhcpcd/dhcpcd-run-hooks
    chmod 0777 /system/etc/ppp/peers/cmnet

    mkdir /data/local 0771 shell shell
    mkdir /data/local/tmp 0771 shell shell
    mkdir /data/data 0771 system system
    mkdir /data/app-private 0771 system system
    mkdir /data/app 0771 system system
    mkdir /data/property 0700 root root
    mkdir /data/ppp 0700 shell shell
    chmod 0777 /data/ppp
    chmod 0777 /sys/class/leds/lcd-backlight/brightness

    mkdir /data/wmtpref 0777  media media
    chmod 0777 /data/wmtpref

    # create dalvik-cache and double-check the perms
    mkdir /data/dalvik-cache 0771 system system
    chown system system /data/dalvik-cache
    chmod 0771 /data/dalvik-cache

    # create the lost+found directories, so as to enforce our permissions
    mkdir /data/lost+found 0770
    mkdir /cache/lost+found 0770

    # double check the perms, in case lost+found already exists, and set owner
    chown root root /data/lost+found
    chmod 0770 /data/lost+found
    chown root root /cache/lost+found
    chmod 0770 /cache/lost+found

    # create mountpoint for usb storage
    mkdir /udisk 0777

    chmod 0777 /dev/wmtts
    chmod 0777 /dev/wmtgpio
    chmod 0777 /dev/mtd/mtd0
    chmod 0666 /dev/graphics/fb0
    chmod 0666 /dev/fb0
    chmod 0777 /system/etc/wmt/pm.sh
    chmod 0777 /proc/boot-splash
    chmod 0777 /proc/lcd-bltlevel
    # for 2-aix gsensor mxc622x
    device /dev/ecompass_ctrl 0666 root root
    device /dev/mxc622x 0666  root root
    mkdir  /data/misc/sensors 0777 system system
    chmod 0666 /dev/ecompass_ctrl
    chmod 0666 /dev/mxc622x
	
on boot
# basic network init
    ifup lo
    hostname localhost
    domainname localdomain

# Set init's forked children's oom_adj.
    write /proc/1/oom_adj -16

# set RLIMIT_NICE to allow priorities from 19 to -20
    setrlimit 13 40 40

# Define the oom_adj values for the classes of processes that can be
# killed by the kernel.
    setprop ro.FOREGROUND_APP_ADJ 0
    setprop ro.VISIBLE_APP_ADJ 1
    setprop ro.HOME_APP_ADJ 2
    setprop ro.PERCEPTIBLE_APP_ADJ 3
    setprop ro.HEAVY_WEIGHT_APP_ADJ 4
    setprop ro.SECONDARY_SERVER_ADJ 5
    setprop ro.BACKUP_APP_ADJ 7
    setprop ro.HIDDEN_APP_MIN_ADJ 9
    setprop ro.CONTENT_PROVIDER_ADJ 14
    setprop ro.EMPTY_APP_ADJ 15

# Define the memory thresholds at which the above process classes will
# be killed. These numbers are in pages (4k).
    setprop ro.FOREGROUND_APP_MEM 1024
    setprop ro.VISIBLE_APP_MEM 2048
    setprop ro.HOME_APP_MEM 3072
    setprop ro.PERCEPTIBLE_APP_MEM 4096
    setprop ro.HEAVY_WEIGHT_APP_MEM 5120
    setprop ro.SECONDARY_SERVER_MEM 6144
    setprop ro.BACKUP_APP_MEM 7168
    setprop ro.HIDDEN_APP_MEM 8192
    setprop ro.CONTENT_PROVIDER_MEM 10240
    setprop ro.EMPTY_APP_MEM 20480

    write /sys/module/lowmemorykiller/parameters/adj 0,1,2,4,9,15
    write /sys/module/lowmemorykiller/parameters/minfree 1024,2048,3072,5120,8192,20480
	
# Add by Vincent Li to support ALSA
    setprop alsa.mixer.playback.master Master
    setprop alsa.mixer.capture.master Capture
    setprop alsa.mixer.playback.earpiece Master
    setprop alsa.mixer.capture.earpiece Capture
    setprop alsa.mixer.playback.headset Master
    setprop alsa.mixer.playback.speaker Master
    symlink /dev/snd/pcmC0D0c /dev/pcmC0D0c
    symlink /dev/snd/pcmC0D0p /dev/pcmC0D0p
    symlink /dev/snd/controlC0 /dev/controlC0
    symlink /dev/snd/timer /dev/timer
    chmod 0777 /dev/pcmC0D0c
    chmod 0777 /dev/pcmC0D0p
    chmod 0777 /dev/controlC0
    chmod 0777 /dev/timer
    chown root audio /dev/snd/controlC0
    chown root audio /dev/snd/pcmC0D0c
    chown root audio /dev/snd/pcmC0D0p
    chown root audio /dev/snd/timer

# Add by Kevin to support gps
    chmod 0777 /dev/ttyUSB5
    device /dev/ttyUSB5 0777 root root
    chmod 0777 /dev/ttyS1
    device /dev/ttyS1 0777 root root
    chmod 0777 /dev/ttyS0
    device /dev/ttyS0 0777 root root
    chmod 0666 /dev/ttyACM10
    device /dev/ttyACM10 0666 radio radio
# in case 10 is used    
    chmod 0666 /dev/ttyACM11
    device /dev/ttyACM11 0666 radio radio  
    
    chmod 0666 /dev/ttyACM12
    device /dev/ttyACM12 0666 radio radio  
    chmod 0666 /dev/ttyACM13
    device /dev/ttyACM13 0666 radio radio          
 

# Add by Flash to support pppoe
    chmod 0777 /dev/ppp

# Devices
    device /dev/wmtts 0777 root root
    device /dev/sensor_ctrl 0777 root root
    device /dev/pixcir_i2c_ts0 0777 root root
    device /dev/IT7260 0777 root root

# Permissions for System Server and daemons.
    chown radio system /sys/android_power/state
    chown radio system /sys/android_power/request_state
    chown radio system /sys/android_power/acquire_full_wake_lock
    chown radio system /sys/android_power/acquire_partial_wake_lock
    chown radio system /sys/android_power/release_wake_lock
    chown radio system /sys/power/state
    chown radio system /sys/power/wake_lock
    chown radio system /sys/power/wake_unlock
    chmod 0660 /sys/power/state
    chmod 0660 /sys/power/wake_lock
    chmod 0660 /sys/power/wake_unlock
    chown system system /sys/class/timed_output/vibrator/enable
    chown system system /sys/class/leds/keyboard-backlight/brightness
    chown system system /sys/class/leds/lcd-backlight/brightness
    chown system system /sys/class/leds/button-backlight/brightness
    chown system system /sys/class/leds/jogball-backlight/brightness
    chown system system /sys/class/leds/red/brightness
    chown system system /sys/class/leds/green/brightness
    chown system system /sys/class/leds/blue/brightness
    chown system system /sys/class/leds/red/device/grpfreq
    chown system system /sys/class/leds/red/device/grppwm
    chown system system /sys/class/leds/red/device/blink
    chown system system /sys/class/leds/red/brightness
    chown system system /sys/class/leds/green/brightness
    chown system system /sys/class/leds/blue/brightness
    chown system system /sys/class/leds/red/device/grpfreq
    chown system system /sys/class/leds/red/device/grppwm
    chown system system /sys/class/leds/red/device/blink
    chown system system /sys/class/timed_output/vibrator/enable
    chown system system /sys/module/sco/parameters/disable_esco
    chown system system /sys/kernel/ipv4/tcp_wmem_min
    chown system system /sys/kernel/ipv4/tcp_wmem_def
    chown system system /sys/kernel/ipv4/tcp_wmem_max
    chown system system /sys/kernel/ipv4/tcp_rmem_min
    chown system system /sys/kernel/ipv4/tcp_rmem_def
    chown system system /sys/kernel/ipv4/tcp_rmem_max
    chown root radio /proc/cmdline

# Root permissions
chown root root /system/xbin/su
chmod 6755 /system/xbin/su

    class_start default

## Daemon processes to be run by init.
# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd
    disabled

on property:persist.service.adb.enable=1
    start adbd

on property:persist.service.adb.enable=0
    stop adbd

service servicemanager /system/bin/servicemanager
    user system
    critical
    onrestart restart zygote
    onrestart restart media

service vold /system/bin/vold
    socket vold stream 0660 root mount
    ioprio be 2

service netd /system/bin/netd
    socket netd stream 0660 root system

service debuggerd /system/bin/debuggerd
    disabled
	
on property:ro.debuggable=1
    start debuggerd

# start ril
on property:ril.power.on=1
	start powerxgmodemOn
	
on property:ril.power.on=0
	stop ril-daemon
	stop mux
	start stopMux
	start powerxgmodemOff	
	
on property:ril.mux.start=1
	start mux
		
on property:ril.both.stop=1
	stop ril-daemon
	stop mux
	start stopMux

on property:ril.daemon.start=1
	start ril-daemon

on property:ril.daemon.start=0
	stop ril-daemon

service powerxgmodemOnce /system/etc/modemenable.sh 2
	oneshot	
	
service powerxgmodemOn /system/etc/modemenable.sh 1
	oneshot
	disabled
	
service powerxgmodemOff /system/etc/modemenable.sh 0
	oneshot
	disabled

service stopMux /busybox/bin/killall -9 gsmMuxd
	oneshot
	disabled

service mux /system/bin/gsmMuxd -p /dev/ttyACM10 -w -r -s /dev/mux /dev/ptmx /dev/ptmx -d -b 460800 -m generic
    user radio
    group radio cache inet misc
    disabled
    
on property:ril.killpppd.start=1
	start pppd_unique       

on property:ril.killchat.start=1      
	start chat_unique       

service pppd_unique /busybox/bin/killall -9 pppd
    oneshot                                     
    user root                                   
    disabled                                    

service chat_unique /busybox/bin/killall -9 chat
    oneshot                                     
    user root                                   
    disabled      

on property:ril.gprs.start=1
	start pppd-gprs       

on property:ril.gprs.start=0
	stop pppd-gprs  

service pppd-gprs /system/etc/ppp/init.gprs-pppd
    oneshot
    user root
    group radio cache inet misc
    disabled

service ril-daemon /system/bin/rild
    socket rild stream 660 root radio
    socket rild-debug stream 660 radio system
    user root
    group radio cache inet misc audio
    disabled
# end ril

service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
    socket zygote stream 666
    onrestart write /sys/android_power/request_state wake
    onrestart write /sys/power/state on
    onrestart restart media
	onrestart restart netd

service media /system/bin/mediaserver
    user media
    group system audio camera graphics inet net_bt net_bt_admin net_raw
    ioprio rt 4

service bootanim /system/bin/bootanimation
    user graphics
    group graphics
    disabled
    oneshot

# for wifi usage -start
service ifup_ralink /system/bin/ifconfig ra0 up
   disabled
   oneshot

service ifdown_ralink /system/bin/ifconfig ra0 up
   disabled
   oneshot

service dhcpcd /system/bin/dhcpcd -d -f /system/etc/dhcpcd/android.conf ra0
   oneshot

service ethdhcpcd /system/bin/dhcpcd -d -f /system/etc/dhcpcd/android.conf eth0
   oneshot

service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ira0 -c /data/misc/wifi/wpa_supplicant.conf -dd
   disabled
   group wifi
   oneshot
# for wifi usage -end

service wmt_adb /system/bin/sh /system/etc/wmt/script/rmfsg.sh
    disabled
    oneshot    

service wmt_fsg /system/bin/sh /system/etc/wmt/script/rmadb.sh
    disabled
    oneshot

service wmt_rmusbd /system/bin/sh /system/etc/wmt/script/rmusb.sh
    disabled
    oneshot    

service wmt_initusb /system/bin/sh /system/etc/wmt/script/init_usb.sh
    disabled
    oneshot

service wmt_usbfs /system/bin/sh /system/etc/wmt/script/usbfs.sh
    disabled
    oneshot
    
service poweroff /bin/sh /system/etc/wmt/poweroff.sh
   disabled
   group system
   oneshot

service installd /system/bin/installd
    socket installd stream 600 system system

service flash_recovery /system/etc/install-recovery.sh
    oneshot

service racoon /system/bin/racoon
    socket racoon stream 600 system system
    # racoon will setuid to vpn after getting necessary resources.
    group net_admin
    disabled
    oneshot

service mtpd /system/bin/mtpd
    socket mtpd stream 600 system system
    user vpn
    group vpn net_admin net_raw
    disabled
    oneshot

service keystore /system/bin/keystore /data/misc/keystore
    user keystore
    group keystore
    socket keystore stream 666

service dumpstate /system/bin/dumpstate -s
    socket dumpstate stream 0660 shell log
    disabled
    oneshot

service insert_modules /system/etc/modules.sh
    oneshot

# for wmt photo/video/music thumbnail/metadata background service
service wmtserver /system/bin/wmtserver
    socket wmtdb stream 0666 root root
    disabled
	
service pppd /system/bin/pppd
	disabled

service update_route /bin/sh /system/etc/dhcpcd/test.sh
    disable
    oneshot

on property:dhcp.route.change=1
    start update_route

service initscript /system/etc/initscript.sh
    oneshot

service cleanup /system/etc/cleanup.sh
    disabled
    oneshot

on property:dev.bootcomplete=1
    start cleanup

on property:dev.bootcomplete=1
    start wmt_initusb

#for wmt test mode of usb filesystem
on property:dev.bootcomplete=1
    start wmt_usbfs

# VPP settings
   #Default value was 26000000
   #Choose 33000000, 35000000 (recommended) or 40000000
    write /proc/sys/vpp/pixel_clock 40000000
   #error skipping
    write /proc/sys/vpp/vpu_err_skip 1
   #set max framebuffers
    write /proc/sys/vpp/disp_fb_max 2

# Setup partitions
# flag partitions as non-rotational and increase their cache
#
write /sys/block/loop0/queue/rotational 0
write /sys/block/loop0/bdi/read_ahead_kb 256

write /sys/block/loop1/queue/rotational 0
write /sys/block/loop1/bdi/read_ahead_kb 256

write /sys/block/loop2/queue/rotational 0
write /sys/block/loop2/bdi/read_ahead_kb 256

write /sys/block/loop3/queue/rotational 
write /sys/block/loop3/bdi/read_ahead_kb 256

write /sys/block/loop4/queue/rotational 0
write /sys/block/loop4/bdi/read_ahead_kb 256

write /sys/block/loop5/queue/rotational 0
write /sys/block/loop5/bdi/read_ahead_kb 256

write /sys/block/loop6/queue/rotational 0
write /sys/block/loop6/bdi/read_ahead_kb 256

write /sys/block/loop7/queue/rotational 0
write /sys/block/loop7/bdi/read_ahead_kb 256
#
write /sys/block/nbd0/queue/rotational 0
write /sys/block/nbd0/bdi/read_ahead_kb 256

write /sys/block/nbd1/queue/rotational 0
write /sys/block/nbd1/bdi/read_ahead_kb 256

write /sys/block/nbd2/queue/rotational 0
write /sys/block/nbd2/bdi/read_ahead_kb 256

write /sys/block/nbd3/queue/rotational 0
write /sys/block/nbd3/bdi/read_ahead_kb 256

write /sys/block/nbd4/queue/rotational 0
write /sys/block/nbd4/bdi/read_ahead_kb 256

write /sys/block/nbd5/queue/rotational 0
write /sys/block/nbd5/bdi/read_ahead_kb 256

write /sys/block/nbd6/queue/rotational 0
write /sys/block/nbd6/bdi/read_ahead_kb 256

write /sys/block/nbd7/queue/rotational 0
write /sys/block/nbd7/bdi/read_ahead_kb 256

write /sys/block/nbd8/queue/rotational 0
write /sys/block/nbd8/queue/read_ahead_kb 256
write /sys/block/nbd8/bdi/read_ahead_kb 256

write /sys/block/nbd9/queue/rotational 0
write /sys/block/nbd9/bdi/read_ahead_kb 256

write /sys/block/nbd10/queue/rotational 0
write /sys/block/nbd10/bdi/read_ahead_kb 256

write /sys/block/nbd11/queue/rotational 0
write /sys/block/nbd11/bdi/read_ahead_kb 256

write /sys/block/nbd12/queue/rotational 0
write /sys/block/nbd12/bdi/read_ahead_kb 256

write /sys/block/nbd13/queue/rotational 0
write /sys/block/nbd13/bdi/read_ahead_kb 256

write /sys/block/nbd14/queue/rotational 0
write /sys/block/nbd14/bdi/read_ahead_kb 256

write /sys/block/nbd15/queue/rotational 0
write /sys/block/nbd15/bdi/read_ahead_kb 256
#
write /sys/block/mtdblock0/queue/rotational 0
write /sys/block/mtdblock0/bdi/read_ahead_kb 256

write /sys/block/mtdblock1/queue/rotational 0
write /sys/block/mtdblock1/bdi/read_ahead_kb 256

write /sys/block/mtdblock2/queue/rotational 0
write /sys/block/mtdblock2/bdi/read_ahead_kb 256

write /sys/block/mtdblock3/queue/rotational 0
write /sys/block/mtdblock3/bdi/read_ahead_kb 256

write /sys/block/mtdblock4/queue/rotational 0
write /sys/block/mtdblock4/bdi/read_ahead_kb 256

write /sys/block/mtdblock5/queue/rotational 0
write /sys/block/mtdblock5/bdi/read_ahead_kb 256

write /sys/block/mtdblock6/queue/rotational 0
write /sys/block/mtdblock6/bdi/read_ahead_kb 256

write /sys/block/mtdblock7/queue/rotational 0
write /sys/block/mtdblock7/bdi/read_ahead_kb 256

write /sys/block/mtdblock8/queue/rotational 0
write /sys/block/mtdblock8/bdi/read_ahead_kb 256

write /sys/block/mtdblock9/queue/rotational 0
write /sys/block/mtdblock9/bdi/read_ahead_kb 256

write /sys/block/mtdblock10/queue/rotational 0
write /sys/block/mtdblock10/bdi/read_ahead_kb 256

write /sys/block/mtdblock11/queue/rotational 0
write /sys/block/mtdblock11/bdi/read_ahead_kb 256

write /sys/block/mtdblock12/queue/rotational 0
write /sys/block/mtdblock12/bdi/read_ahead_kb 256

write /sys/block/mtdblock13/queue/rotational 0
write /sys/block/mtdblock13/bdi/read_ahead_kb 256

write /sys/block/mtdblock14/queue/rotational 0
write /sys/block/mtdblock14/bdi/read_ahead_kb 256

write /sys/block/mtdblock15/queue/rotational 0
write /sys/block/mtdblock15/bdi/read_ahead_kb 256

write /sys/block/mtdblock16/queue/rotational 0
write /sys/block/mtdblock16/bdi/read_ahead_kb 256
#
write /sys/block/ram0/queue/rotational 0
write /sys/block/ram0/bdi/read_ahead_kb 256

write /sys/block/ram1/queue/rotational 0
write /sys/block/ram1/bdi/read_ahead_kb 256

write /sys/block/ram2/queue/rotational 0
write /sys/block/ram2/bdi/read_ahead_kb 256

write /sys/block/ram3/queue/rotational 0
write /sys/block/ram3/bdi/read_ahead_kb 256

write /sys/block/ram4/queue/rotational 0
write /sys/block/ram4/bdi/read_ahead_kb 256

write /sys/block/ram5/queue/rotational 0
write /sys/block/ram5/bdi/read_ahead_kb 256

write /sys/block/ram6/queue/rotational 0
write /sys/block/ram6/bdi/read_ahead_kb 256

write /sys/block/ram7/queue/rotational 0
write /sys/block/ram7/bdi/read_ahead_kb 256

write /sys/block/ram8/queue/rotational 0
write /sys/block/ram8/bdi/read_ahead_kb 256

write /sys/block/ram9/queue/rotational 0
write /sys/block/ram9/bdi/read_ahead_kb 256

write /sys/block/ram10/queue/rotational 0
write /sys/block/ram10/bdi/read_ahead_kb 256

write /sys/block/ram11/queue/rotational 0
write /sys/block/ram11/bdi/read_ahead_kb 256

write /sys/block/ram12/queue/rotational 0
write /sys/block/ram12/bdi/read_ahead_kb 256

write /sys/block/ram13/queue/rotational 0
write /sys/block/ram13/bdi/read_ahead_kb 256

write /sys/block/ram14/queue/rotational 0
write /sys/block/ram14/bdi/read_ahead_kb 256

write /sys/block/ram15/queue/rotational 0
write /sys/block/ram15/bdi/read_ahead_kb 256
#
write /sys/devices/virtual/bdi/default/read_ahead_kb 256
#
write /sys/block/nbd0/queue/nr_requests 512
write /sys/block/nbd1/queue/nr_requests 512
write /sys/block/nbd2/queue/nr_requests 512
write /sys/block/nbd3/queue/nr_requests 512
write /sys/block/nbd4/queue/nr_requests 512
write /sys/block/nbd5/queue/nr_requests 512
write /sys/block/nbd6/queue/nr_requests 512
write /sys/block/nbd7/queue/nr_requests 512
write /sys/block/nbd8/queue/nr_requests 512
write /sys/block/nbd9/queue/nr_requests 512
write /sys/block/nbd10/queue/nr_requests 512
write /sys/block/nbd11/queue/nr_requests 512
write /sys/block/nbd12/queue/nr_requests 512
write /sys/block/nbd13/queue/nr_requests 512
write /sys/block/nbd14/queue/nr_requests 512
write /sys/block/nbd15/queue/nr_requests 512

write /sys/block/mtdblock0/queue/nr_requests 512
write /sys/block/mtdblock1/queue/nr_requests 512
write /sys/block/mtdblock2/queue/nr_requests 512
write /sys/block/mtdblock3/queue/nr_requests 512
write /sys/block/mtdblock4/queue/nr_requests 512
write /sys/block/mtdblock5/queue/nr_requests 512
write /sys/block/mtdblock6/queue/nr_requests 512
write /sys/block/mtdblock7/queue/nr_requests 512
write /sys/block/mtdblock8/queue/nr_requests 512
write /sys/block/mtdblock9/queue/nr_requests 512
write /sys/block/mtdblock10/queue/nr_requests 512
write /sys/block/mtdblock11/queue/nr_requests 512
write /sys/block/mtdblock12/queue/nr_requests 512
write /sys/block/mtdblock13/queue/nr_requests 512
write /sys/block/mtdblock14/queue/nr_requests 512
write /sys/block/mtdblock15/queue/nr_requests 512
write /sys/block/mtdblock16/queue/nr_requests 512
# use noop scheduler
write /sys/block/mtdblock0/queue/scheduler noop
write /sys/block/mtdblock1/queue/scheduler noop
write /sys/block/mtdblock2/queue/scheduler noop
write /sys/block/mtdblock3/queue/scheduler noop
write /sys/block/mtdblock4/queue/scheduler noop
write /sys/block/mtdblock5/queue/scheduler noop
write /sys/block/mtdblock6/queue/scheduler noop
write /sys/block/mtdblock7/queue/scheduler noop
write /sys/block/mtdblock8/queue/scheduler noop
write /sys/block/mtdblock9/queue/scheduler noop
write /sys/block/mtdblock10/queue/scheduler noop
write /sys/block/mtdblock11/queue/scheduler noop
write /sys/block/mtdblock12/queue/scheduler noop
write /sys/block/mtdblock13/queue/scheduler noop
write /sys/block/mtdblock14/queue/scheduler noop
write /sys/block/mtdblock15/queue/scheduler noop
write /sys/block/mtdblock16/queue/scheduler noop
#
write /sys/block/nbd0/queue/scheduler noop
write /sys/block/nbd1/queue/scheduler noop
write /sys/block/nbd2/queue/scheduler noop
write /sys/block/nbd3/queue/scheduler noop
write /sys/block/nbd4/queue/scheduler noop
write /sys/block/nbd5/queue/scheduler noop
write /sys/block/nbd6/queue/scheduler noop
write /sys/block/nbd7/queue/scheduler noop
write /sys/block/nbd8/queue/scheduler noop
write /sys/block/nbd9/queue/scheduler noop
write /sys/block/nbd10/queue/scheduler noop
write /sys/block/nbd11/queue/scheduler noop
write /sys/block/nbd12/queue/scheduler noop
write /sys/block/nbd13/queue/scheduler noop
write /sys/block/nbd14/queue/scheduler noop
write /sys/block/nbd15/queue/scheduler noop
# SD card setup
write /sys/block/mmcblk0/queue/rotational 0
write /sys/block/mmcblk0/bdi/read_ahead_kb 1024
write /sys/block/mmcblk0/queue/nr_requests 512
write /sys/block/mmcblk0/queue/scheduler noop

Сейчас у меня всё чудесным образом работает, спутники подхватываются быстро.

Blaze, ещё раз спасибо за помощь![/font]

Ответить