Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SCREEN BRIGHTNESS
- sudo true
- echo 1 | sudo tee /sys/devices/platform/leds-mt65xx/leds/lcd-backlight/brightness
- echo 0 | sudo tee /sys/devices/platform/leds-mt65xx/leds/lcd-backlight/brightness
- # DMESG (NO DEBUG)
- dmesg -l emerg,alert,crit,err,warn,notice,info
- # WIFI FIRMWARE
- scp etc/firmware/mt6628_ant_m1.cfg pmos:/system/etc/firmware/
- scp etc/firmware/mt6628_patch_e1_hdr.bin pmos:/system/etc/firmware/
- scp etc/firmware/mt6628_patch_e2_0_hdr.bin pmos:/system/etc/firmware/
- scp etc/firmware/mt6628_patch_e2_1_hdr.bin pmos:/system/etc/firmware/
- scp etc/firmware/WIFI_RAM_CODE_MT6628 pmos:/system/etc/firmware/
- scp etc/firmware/WMT.cfg pmos:/system/etc/firmware/
- # WIFI
- insmod mtk_hif_sdio.ko
- insmod mtk_stp_wmt.ko
- insmod mtk_stp_uart.ko
- insmod mtk_stp_gps.ko
- insmod mtk_wmt_wifi.ko
- mknod /dev/stpwmt c 190 0
- mknod /dev/stpgps c 191 0
- mknod /dev/wmtWifi c 153 0
- insmod wlan_mt6628.ko
- #6620_launcher -p /system/etc/firmware/
- ./6620_launcher_src/a.out -p /system/etc/firmware/
- echo 1 > /dev/wmtWifi
- (mediadeb:
- wifi_loader.service: runs mt6620_loader.sh -> mknod & runs wifi_loader bin
- mt6620_launcher.service: runs 6620_launcher
- wifi.service: runs echo 1)
- # LOGLEVEL
- Why does the loglevel not take effect?
- kernel/signal.c contains printk(KERN_DEBUG
- [ 1516.879554] (0)[1293:mtk_wmtd][WMT-CONF][E]wmt_conf_read_file(468):empty Wmtcfg name
- mediatek/kernel/drivers/combo/common/core/wmt_conf.c line 468
- if (!osal_strlen(&(gDevWmt.cWmtcfgName[0])))
- gets set in wmt_conf_set_cfg_file (same file)
- that gets used in mediatek/kernel/drivers/combo/common/linux/pri/wmt_dev.c L1583
- # CMDLINE
- boot because charging cable:
- console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=530M slub_max_order=0 slub_debug=O lcm=1-nt35516_qhd_dsi_cmd fps=6540 lcm_type=1 pl_t=3989 lk_t=1981 printk.disable_uart=1 boot_reason=4 androidboot.serialno=4101732565
- boot because of power button:
- console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=530M slub_max_order=0 slub_debug=O lcm=1-nt35516_qhd_dsi_cmd fps=6540 lcm_type=1 pl_t=444 lk_t=1932 printk.disable_uart=1 boot_reason=0 androidboot.serialno=4101732565 ?
- # BOOT REASON
- 0: power button
- 4: charger
- # OSK SDL
- /dev/input/event3 touchscreen
- sudo su
- export DFBARGS="system=fbdev,no-cursor,linux-input-grab"
- export TSLIB_TSDEVICE=/dev/input/event3
- osk-sdl -d a -n a -c /etc/osk.conf -v
- kernel panic: https://pastebin.com/wtuW13ft
- # TOUCH SCREEN
- evtest /dev/input/event3
- libinput debug-events
- event3 TOUCH_DOWN +2.10s 0 (0) 54.16/51.61 (293.00/496.00mm)
- event3 TOUCH_FRAME +2.10s
- event3 TOUCH_MOTION +2.32s 0 (0) 53.79/51.51 (291.00/495.00mm)
- no TOUCH_UP event
- Event: time 1529183042.190017, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
- Event: time 1529183042.190040, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
- Event: time 1529183042.190062, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 266
- Event: time 1529183042.190085, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 490
- Event: time 1529183042.190106, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
- Event: time 1529183042.190123, ++++++++++++++ SYN_MT_REPORT ++++++++++++
- Event: time 1529183042.190142, -------------- SYN_REPORT ------------
- Event: time 1529183042.208825, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
- Event: time 1529183042.208850, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 266
- Event: time 1529183042.208872, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 490
- Event: time 1529183042.208893, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
- Event: time 1529183042.208910, ++++++++++++++ SYN_MT_REPORT ++++++++++++
- Event: time 1529183042.208928, -------------- SYN_REPORT ------------
- Event: time 1529183042.226740, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
- Event: time 1529183042.226761, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
- Event: time 1529183042.227062, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 266
- Event: time 1529183042.227087, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 490
- Event: time 1529183042.227110, ++++++++++++++ SYN_MT_REPORT ++++++++++++
- Touchscreen driver: mediatek/custom/common/kernel/touchpanel/ft5316/ft5316_driver.c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement