Skip to content

Instantly share code, notes, and snippets.

View yacuken's full-sized avatar

Nikita Zhukov yacuken

  • Saint Petersburg, Russia
View GitHub Profile
@yacuken
yacuken / gist:c1900c0db301bcba7508
Created March 10, 2016 18:05
./rpm/dhd/helpers/build_packages.sh kmap2qmap segfault
MerSDK $ droid > ./rpm/dhd/helpers/build_packages.sh
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oKubGV
+ umask 022
+ cd /home/yacuken/mer/android/droid
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
+ export CFLAGS
D/RILD ( 554): **RIL Daemon Started**
D/RILD ( 554): **RILd param count=1**
E/use-Rlog/RLOG-RIL( 554): loadOpnameStaticTable(): count(1101)
E/use-Rlog/RLOG-RIL( 554): loadOpnameDb(): db open error
E/use-Rlog/RLOG-RIL( 554): OemInitGprsData()
E/use-Rlog/RLOG-RIL( 554): deactivate_virtual_inet()
E/use-Rlog/RLOG-RIL( 554): deactivate_virtual_inet() : unknown pdp type () down all interface
E/use-Rlog/RLOG-RIL( 554): setting addr for rmnet0: 0
E/use-Rlog/RLOG-RIL( 554): intfconf_set_flags()
E/use-Rlog/RLOG-RIL( 554): intfconf_clear_addr_ipv6()
@yacuken
yacuken / gist:00515fabf4797bc73075
Created March 23, 2016 07:37
tab2 mount output
[root@localhost /]# mount
/dev/mmcblk0p10 on / type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/dev/mmcblk0p10 on /data type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=411660k,nr_inodes=102915,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
@yacuken
yacuken / gist:2e971653afeaa507dd71
Created March 24, 2016 18:38
galaxy tab 2 ofono
[root@localhost /]# journalctl -u ofono
-- Logs begin at Thu 2016-03-24 15:47:56 MSK, end at Thu 2016-03-24 16:45:14 MSK. --
Mar 24 15:48:33 localhost systemd[1]: Starting Telephony service...
Mar 24 15:48:35 localhost systemd[1]: Started Telephony service.
Mar 24 15:48:34 localhost ofonod[615]: oFono version 1.17
Mar 24 15:48:34 localhost ofonod[615]: Excluding udev hardware detection
Mar 24 15:48:34 localhost ofonod[615]: Excluding udev hardware detection
Mar 24 15:48:34 localhost ofonod[615]: Excluding PhoNet / ISI modem driver
Mar 24 15:48:34 localhost ofonod[615]: Excluding Generic modem driver for isi
Mar 24 15:48:34 localhost ofonod[615]: Excluding Nokia N900 modem driver
@yacuken
yacuken / gist:c321fcef571b53284a6f
Created March 24, 2016 18:52
galaxy tab 2 ofono log
[root@localhost /]# ofonod -n --nobacktrace --noplugin=he910,dun_gw_bluez5,hfp_bluez5,hfp_ag_bluez5,cdma_provision,bluez5,isimodem,n900,u8500,qmimodem,gobi,cdmamodem,isiusb,nwmodem,ztemodem,iceramodem,huaweimodem,calypsomodem,swmodem,mbmmodem,hsomodem,ifxmodem,stemodem,dunmodem,hfpmodem,speedupmodem,phonesim,telitmodem,udev,udevng -d
ofonod[1464]: oFono version 1.17
ofonod[1464]: src/plugin.c:__ofono_plugin_init()
ofonod[1464]: Excluding udev hardware detection
ofonod[1464]: Excluding udev hardware detection
ofonod[1464]: Excluding PhoNet / ISI modem driver
ofonod[1464]: Excluding Generic modem driver for isi
ofonod[1464]: Excluding Nokia N900 modem driver
ofonod[1464]: Excluding ST-Ericsson U8500 modem driver
ofonod[1464]: Excluding Qualcomm QMI modem driver
(boot without hack)
[root@localhost /]# journalctl -u ofono
-- Logs begin at Thu 2016-03-24 22:00:22 MSK, end at Thu 2016-03-24 22:02:10 MSK. --
Mar 24 22:00:58 localhost systemd[1]: Starting Telephony service...
Mar 24 22:00:59 localhost systemd[1]: Started Telephony service.
Mar 24 22:00:59 localhost ofonod[608]: oFono version 1.17
Mar 24 22:00:59 localhost ofonod[608]: Excluding udev hardware detection
Mar 24 22:00:59 localhost ofonod[608]: Excluding udev hardware detection
Mar 24 22:00:59 localhost ofonod[608]: Excluding PhoNet / ISI modem driver
Mar 24 22:00:59 localhost ofonod[608]: Excluding Generic modem driver for isi
  • rewrite ~/.hadk.env for each device and name as ~/.hadk.$DEVICE (e.g.)
$ ~ > cat .hadk.espresso3g
export MER_ROOT="$HOME/mer"
export ANDROID_ROOT="$MER_ROOT/android/droid"
export VENDOR="samsung"
export DEVICE="espresso3g"
export PORT_ARCH="armv7hl"
$ ~ > cat .hadk.bacon 
export MER_ROOT="$HOME/mer"
[ 8.316132] ------------[ cut here ]------------
[ 8.316202] WARNING: at ../../../../../../kernel/oneplus/msm8974/lib/kobject_uevent.c:351 add_uevent_var+0xa0/0xc8()
[ 8.316270] add_uevent_var: too many keys
[ 8.316307] Modules linked in:
[ 8.316386] [<c010d8e0>] (unwind_backtrace+0x0/0x134) from [<c01a7aa8>] (warn_slowpath_common+0x54/0x64)
[ 8.316459] [<c01a7aa8>] (warn_slowpath_common+0x54/0x64) from [<c01a7ae8>] (warn_slowpath_fmt+0x30/0x40)
[ 8.316533] [<c01a7ae8>] (warn_slowpath_fmt+0x30/0x40) from [<c03cd92c>] (add_uevent_var+0xa0/0xc8)
[ 8.316608] [<c03cd92c>] (add_uevent_var+0xa0/0xc8) from [<c03cde60>] (kobject_uevent_env+0x50c/0x630)
[ 8.316681] [<c03cde60>] (kobject_uevent_env+0x50c/0x630) from [<c06a7158>] (power_supply_changed_work+0xa0/0xe8)
[ 8.316755] [<c06a7158>] (power_supply_changed_work+0xa0/0xe8) from [<c01c1a84>] (process_one_work+0x188/0x4f8)
[root@Sailfish nemo]# test_sensors
Hardware module ID: sensors
Hardware module Name: QTI Sensors Module
Hardware module Author: Qualcomm Technologies, Inc.
Hardware module API version: 0x1
Hardware HAL API version: 0x100
Poll device version: 0x1030001
API VERSION 0.1 (legacy): 0x1
API VERSION 0.1: 0x65537
API VERSION 1.0: 0x16777217
@yacuken
yacuken / gist:2fe00bf831245f7341cbc2ae06030b45
Created September 17, 2016 18:53
bacon video playback
E/OMXMaster( 824): A component of name 'OMX.ffmpeg.wmv.decoder' already exists, ignoring this one.
I/OMXClient( 1582): Using client-side OMX mux.
I/OMXClient( 1582): Using client-side OMX mux.
E/QC_EVRCENC( 824): component init: role = OMX.qcom.audio.encoder.evrc
I/QC_EVRCENC( 824): component init: role = OMX.qcom.audio.encoder.evrc
I/QC_EVRCENC( 824):
I/QC_EVRCENC( 824): component_init: Component OMX.qcom.audio.encoder.evrc LOADED
I/QC_EVRCENC( 824): Driver in Non Tunnel mode open
I/QC_EVRCENC( 824): Returning the state 1
I/QC_EVRCENC( 824): Returning the state 1