Skip to content

Instantly share code, notes, and snippets.

View mlasak's full-sized avatar

Martin Lasak mlasak

  • Fraunhofer FOKUS
  • Berlin
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mlasak on github.
  • I am mlasak (https://keybase.io/mlasak) on keybase.
  • I have a public key whose fingerprint is 0FCD CDCC 84C7 CC46 A494 E19F 6C81 19BA 3727 A774

To claim this, I am signing this object:

@mlasak
mlasak / gist:7545941
Created November 19, 2013 14:10
logcat
I/chromium(15901): [15901:15901:1119/150832:19530981746:INFO:CONSOLE(73)] "######## 61.771: Requesting webcam", source: http://localhost:8080/apps/1a7f02a04047197983cec6ead73df9f6228b8603/wgt/index.html (73)
F/chromium(15901): [15901:15901:1119/150832:19530988491:FATAL:media_devices_monitor.cc(14)] Check failed: BrowserThread::CurrentlyOn(BrowserThread::IO).
F/libc (15901): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 15901 (ntent_shell_apk)
D/FolderObserver(11919): event: 2 path: log.txt
D/YouTube (13043): apps.youtube.core.transfer.an.onReceive:713 media mounted true
D/MediaScannerReceiver(13003): action: android.intent.action.MEDIA_MOUNTED path: /storage/emulated/0
W/ActivityManager( 518): Permission denied: checkComponentPermission() owningUid=10015
W/BroadcastQueue( 518): Permission Denial: broadcasting Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/emulated/0 flg=0x10 } from org.webinos.android (pid=11919, uid=10070) is not exported from uid 10015 due to receiver
@mlasak
mlasak / log
Last active December 27, 2015 18:39
webinos build on mac
Martins-MacBook-Pro:build-test-pzp mla$ libtool
libtool: no output file specified (specify with -o output)
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
Martins-MacBook-Pro:_mywebinos mla$ git clone https://github.com/webinos/webinos-pzp.git build-test-pzp
Cloning into 'build-test-pzp'...
remote: Counting objects: 1472, done.
remote: Compressing objects: 100% (725/725), done.
@mlasak
mlasak / logcat
Created November 7, 2013 13:52
webinos startup on android
I/InputReader( 2244): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.24 ]
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/TwDVFSBroadcastReceiver( 2581): onLauncherIntent
D/PowerManager( 2581): DVFSLock : acquire : timeout : 1000
I/power ( 2244): *** acquire_dvfs_lock : lockType : 1 freq : 1400000
D/PowerManagerService( 2244): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1400000 uid : 1000 pid : 2581 tag : TwDVFSBroadcastReceiver
I/InputReader( 2244): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=]
@mlasak
mlasak / logcat
Created October 9, 2013 08:58
chromium based wrt on nexus7
I/ActivityManager( 461): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.webinos.android/.app.wrt.ui.WidgetListActivity} from pid 747
D/dalvikvm( 461): GC_FOR_ALLOC freed 652K, 11% free 13625K/15248K, paused 53ms, total 56ms
I/dalvikvm-heap( 461): Grow heap (frag case) to 13.710MB for 251120-byte allocation
D/dalvikvm( 461): GC_FOR_ALLOC freed 18K, 11% free 13852K/15496K, paused 53ms, total 53ms
D/dalvikvm( 1896): Late-enabling CheckJNI
I/ActivityManager( 461): Start proc org.webinos.android for activity org.webinos.android/.app.wrt.ui.WidgetListActivity: pid=1896 uid=10066 gids={50066, 3003, 1015, 3002, 3001, 1006, 1028}
D/dalvikvm( 1896): GC_CONCURRENT freed 166K, 5% free 7650K/7984K, paused 3ms+8ms, total 30ms
D/dalvikvm( 1896): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/libEGL ( 1896): loaded /system/lib/egl/libEGL_tegra.so
D/libEGL ( 1896): loaded /system/lib/egl/libGLESv1_CM_tegra.so
@mlasak
mlasak / gist:6716305
Created September 26, 2013 16:04
webinos-android chromium integrated build log
i3dhcp189:webinos-android mla$ ant clean
Buildfile: /devel/_mywebinos/webinos-android/build.xml
-check-env:
[checkenv] Android SDK Tools Revision 22.0.5
[checkenv] Installed at /devel/android-sdk-macosx
-setup:
[echo] Project Name: webinos-android
[gettype] Project Type: Application
@mlasak
mlasak / logcat
Created August 29, 2013 08:54
Exception while loading Resources even they are present as R.class files
08-29 10:48:44.991: D/dalvikvm(3767): Trying to load lib /data/app-lib/org.chromium.content_shell_apk-1/libcontent_shell_content_view.so 0x422d7c80
08-29 10:48:45.031: D/dalvikvm(3767): Added shared lib /data/app-lib/org.chromium.content_shell_apk-1/libcontent_shell_content_view.so 0x422d7c80
08-29 10:48:45.041: I/LibraryLoader(3767): loaded: content_shell_content_view
08-29 10:48:45.041: I/chromium(3767): [INFO:library_loader_hooks.cc(70)] Chromium logging enabled: level = -1, default verbosity = 1
08-29 10:48:45.071: I/BrowserProcessMain(3767): Initializing chromium process, renderers=9
08-29 10:48:45.131: I/ResourceExtractor(3767): Extracting resource content_shell.pak
08-29 10:48:45.281: D/libEGL(3767): loaded /system/lib/egl/libEGL_tegra.so
08-29 10:48:45.291: D/libEGL(3767): loaded /system/lib/egl/libGLESv1_CM_tegra.so
08-29 10:48:45.301: D/libEGL(3767): loaded /system/lib/egl/libGLESv2_tegra.so
08-29 10:48:45.321: D/OpenGLRenderer(3767): Enabling debug mode 0
@mlasak
mlasak / doExport.sh
Last active December 21, 2015 22:28
Exports all needed ContentShell resources as basis for an Android project. Script still under construction!
#!/bin/sh
# Contributed to the webinos project.
# License: http://www.apache.org/licenses/LICENSE-2.0
echo "Exports all needed ContentShell resources as basis for an Android project."
echo "--------------------------------------------------------------------------"
if [ -z $1 ]; then
echo "place this script next to your chromium 'src' folder"
echo "run this script after successfull 'ninja -C out/Debug -j8 content_shell_apk' build"
@mlasak
mlasak / logcat-v-thread.txt
Created May 1, 2013 10:51
second android build test - 1st May 2013 WebinosInstaller-smartphone-debug.apk based on living_labs branch $ git log commit ec61093f4476b649e7d1617d2c24118a8dc8bcbe Merge: f0d90de 3f22d10 Author: Paddy Byers <paddy.byers@gmail.com> Date: Wed May 1 00:36:09 2013 -0700 Merge pull request #576 from paddybyers/ll_android_orientation Ll android orien…
This file has been truncated, but you can view the full file.
I( 445: 633) START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.webinos.installer/.InstallActivity} from pid 696
D( 3269: 3269) Late-enabling CheckJNI
I( 445: 737) Start proc org.webinos.installer for activity org.webinos.installer/.InstallActivity: pid=3269 uid=10066 gids={50066, 1015, 3003, 1028}
V( 3269: 3269) onStart()
V( 3269: 3269) Loading config file from assets
D( 3269: 3273) GC_CONCURRENT freed 102K, 4% free 7726K/7996K, paused 13ms+2ms, total 33ms
D( 3269: 3269) WAIT_FOR_CONCURRENT_GC blocked 20ms
D( 3269: 3269) loaded /system/lib/egl/libEGL_tegra.so
@mlasak
mlasak / logcat.txt
Created May 1, 2013 09:55
android build test - 1st May 2013 WebinosInstaller-smartphone-debug.apk based on living_labs branch $ git log commit ec61093f4476b649e7d1617d2c24118a8dc8bcbe Merge: f0d90de 3f22d10 Author: Paddy Byers <paddy.byers@gmail.com> Date: Wed May 1 00:36:09 2013 -0700 Merge pull request #576 from paddybyers/ll_android_orientation Ll android orientation
I/ActivityManager( 445): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.webinos.installer/.InstallActivity} from pid 696
D/dalvikvm( 445): GC_FOR_ALLOC freed 361K, 17% free 12963K/15504K, paused 48ms, total 49ms
D/dalvikvm( 2612): Late-enabling CheckJNI
I/ActivityManager( 445): Start proc org.webinos.installer for activity org.webinos.installer/.InstallActivity: pid=2612 uid=10066 gids={50066, 1015, 3003, 1028}
V/Apk installer: MainActivity( 2612): onStart()
V/Apk installer: MainActivity( 2612): Loading config file from assets
D/dalvikvm( 2612): GC_CONCURRENT freed 113K, 4% free 7715K/7996K, paused 11ms+2ms, total 33ms
D/dalvikvm( 2612): WAIT_FOR_CONCURRENT_GC blocked 22ms
D/libEGL ( 2612): loaded /system/lib/egl/libEGL_tegra.so
D/libEGL ( 2612): loaded /system/lib/egl/libGLESv1_CM_tegra.so