Skip to content

Instantly share code, notes, and snippets.

View milankragujevic's full-sized avatar

Milan Kragujević milankragujevic

View GitHub Profile
@milankragujevic
milankragujevic / APUSONE_V102_UART.txt
Created October 3, 2017 02:31
UART Boot dump of Alcatel V102 HDMI stick powered by APUS ONE MAP220 and Mediatek RT5572
?hello_world!
?hello_world!
525802 80wa witaitcheck_val=0x2700a0
ROM Monitor, Revision 0000.0312.0023.
Copyright (c) tf Semiconductor Corp. - All Rights Reserved.
@milankragujevic
milankragujevic / dump_uart.txt
Created November 22, 2017 11:08
Stark Groove 7W-L UART boot log
▒UյU▒U▒▒U▒Օ▒UյU▒U▒▒U▒յU▒U▒▒U▒UյU▒U▒▒U▒U▒▒Uյ▒Օ▒Uյ▒▒U▒HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit : 0b1334302d2064065c32a7e88e423c38766750e3
fel_flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x0000000f
rtc[2] value = 0x00000000
rtc[3] value = 0xf1f15000
DRAM DRIVE INFO: V1.6
@milankragujevic
milankragujevic / partmap.txt
Created December 1, 2017 12:04
Partition map of Stark 7W-L
part name = bootloader
part start = 32768
part size = 65536
part name = env
part start = 98304
part size = 32768
part name = boot
part start = 131072
part size = 32768
part name = system
@milankragujevic
milankragujevic / uboot.log
Created December 1, 2017 12:04
Stark tablet "Das U-boot" help output
sunxi#help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
boota - boota - boot android bootimg from memory
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootvx - Boot vxWorks from an ELF image
@milankragujevic
milankragujevic / apa_1616_ir_codes.txt
Created January 15, 2018 09:54 — forked from tiegz/apa_1616_ir_codes.txt
APA 1616 LED Remote IR Codes
# http://sztyled.en.made-in-china.com/product/SqUmJxylhbhK/China-24-Key-Infrared-RGB-Manual-Flash-Controller-APA-1616-.html
# or
# http://www.dhgate.com/store/product/advanced-micro-control-unit-24-keys-rgb-led/128629434.html
IR Receiver Notes
F700FF BRIGHT HI
F7807F BRIGHT LO
F7408F OFF
F7C03F ON
F720DF R1
@milankragujevic
milankragujevic / osnovni-paket-iptv.txt
Created January 25, 2018 14:44
IPTV channels and numbers for mts TV IPTV platform by Huawei, 25-01-2018.
100|Info kanal
101|RTS 1
102|RTS 2
104|O2
105|Prva
106|TV Pink
107|Happy TV
108|Pink 2
109|Pink 3 Info
110|RTS 3
@milankragujevic
milankragujevic / super-paket-iptv.txt
Created January 25, 2018 15:10
Super package bundled IPTV channels and numbers for mts TV IPTV platform by Huawei, 25-01-2018.
451|Pink Music 2
452|Bravo Music
453|Pink Koncert
467|Pink Folk 2
475|Pink&Roll
477|Pink Hits 2
480|MTV Hits International
481|MTV Dance International
482|MTV Rocks International
484|VH1 Classic
@milankragujevic
milankragujevic / printenv.log
Created February 10, 2018 23:25
mts EC2108V5 `printenv`
fastboot# printenv
bootdelay=1
baudrate=115200
ipaddr=192.168.1.10
serverip=192.168.1.1
netmask=255.255.255.0
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
@milankragujevic
milankragujevic / mwan3
Last active February 13, 2018 02:17
mwan3 config for dual wan interfaces
config interface 'wan'
option enabled '1'
list track_ip '8.8.4.4'
list track_ip '8.8.8.8'
list track_ip '208.67.222.222'
list track_ip '208.67.220.220'
option reliability '2'
option count '1'
option timeout '2'
option interval '5'
@milankragujevic
milankragujevic / mwan3.sh
Created February 14, 2018 14:49
/lib/mwan3/mwan3.sh for non-IPv6 devices running LEDE 17
#!/bin/sh
IP4="/usr/bin/ip -4"
IPS="/usr/sbin/ipset"
IPT4="/usr/sbin/iptables -t mangle -w"
LOG="/usr/bin/logger -t mwan3 -p"
MWAN3_STATUS_DIR="/var/run/mwan3"
[ -d $MWAN3_STATUS_DIR ] || mkdir -p $MWAN3_STATUS_DIR/iface_state