IRC log for #n950club on 20140108

00:25.57*** join/#n950club RzR (~RzR@82.236.136.171)
00:26.09RzRhi
00:26.19RzRwhat's up guys ?
00:26.19valdur55hack - more landscape mode:   sed -i "s/allowedOrientations: Orientation.Portrait/allowedOrientations: Orientation.All/" /usr/lib/qt5/qml/Sailfish/Silica/Page.qml
00:27.11valdur55it enables landscape mode for more apps ( may be buggy ) :D
00:27.38RzRmy n950 screen is loosing more pixels as i'm looking at it
03:33.10*** join/#n950club smokex (smokex@unaffiliated/smokex)
03:33.10*** join/#n950club smokex (smokex@gateway/shell/panicbnc/x-aqozewxemfrarlqf)
03:44.37*** join/#n950club smokex (smokex@gateway/shell/panicbnc/x-pupkodxhjdtzszik)
05:14.37*** join/#n950club MFaro-Tusino (~michaelfa@CPE-58-173-128-137.cjcz1.cht.bigpond.net.au)
05:16.43MFaro-Tusinoahoy
07:21.58krnlynghi MFaro-Tusino
07:22.29krnlyngMFaro-Tusino: do you have more christmas presents for us :D?
07:31.31MFaro-TusinoI wish!
07:31.54MFaro-Tusinokrnlyng: Any progress with what we have though?
07:32.07MFaro-TusinoDid it help with the Android layer?
07:32.22krnlyngMFaro-Tusino: unfortunately it didn't help
07:32.38MFaro-Tusinodang
07:32.52krnlyngwell we definately know now that we don't necessarily need the mysatroker kernel module
07:32.59krnlyngwell probably we don't need it
07:33.12krnlyngthe bigger issue are the gralloc hwcomposer and so on modules
07:33.35krnlyngbut! i've managed to start android in a chroot on my n9 ;)
07:33.48MFaro-TusinoNice!
07:34.01krnlyngthere are still some issues though
07:34.04MFaro-Tusinoso you can run android apps inside N9?
07:34.09MFaro-Tusino:p
07:34.19krnlyngyes
07:34.33MFaro-Tusinosame as apkenv?
07:34.49krnlyngno it's a different approach
07:35.31MFaro-Tusinomore compatible with more apps?
07:36.03krnlyngonce i get everything to work properly you can expect it to support probably most of the apps nitdroid supports
07:37.06krnlyngthe method i used does similar things like aliendalvik
07:37.18krnlynglike aliendalvik does*
07:37.47MFaro-Tusinoooooo
07:38.07krnlyngcurrently i have the issue that i don't know where to put my code :D:D
07:39.03krnlyngbrb
07:40.26krnlyngMFaro-Tusino: if you wanna see what's possible right now i can help you set it up :) (it isn't much though)
07:43.40MFaro-Tusinokrnlyng: I'd love to try it! (Let me boot N950 back into Harmattan)
08:09.27krnlyngre
08:09.41krnlyngMFaro-Tusino: i used sailfish but it should be possible in harmattan too
08:09.52MFaro-Tusinoahh
08:09.58MFaro-TusinoI wont boot down then hehe
08:10.10krnlyngMFaro-Tusino: but don't expect too much ;)
08:11.27krnlyngMFaro-Tusino: do you have a copy of nitdroid on your device? (you need one - but don't use a version you work on because we're gonna screw it)
08:12.33krnlyngMFaro-Tusino: the easiest way to set this up would be to use harmattan + the nitdroid dual boot kernel (e-yes + l2fix if you're using ubiboot)
08:12.38krnlyngthe nemo kernel needs a few patches
08:13.15krnlyng(but i can send you my copy of the kernel if you want to try it in nemo/sailfish)
08:13.54krnlyngso you'd need to reboot after anyways :D
08:20.39MFaro-TusinoDon't use nitdroid
08:20.48MFaro-Tusinoso I'll need to go down the ubiboot path?
08:50.03krnlyngMFaro-Tusino: do you have ubiboot installed?
08:50.33krnlyngthe nemo/sailfish kernel needs to be patched to have ashmem and some other android stuffs
08:52.36MFaro-Tusinono
08:52.48krnlyngit would make things easier
08:53.21krnlyngi think the easiest approach would be to use harmattan with the e-yes l2fix kernel
08:53.31krnlyngif you don't want to use ubiboot^^
08:55.15krnlyngMFaro-Tusino: do you want to do it in harmattan or sailfish? (if sailfish then you need the nitdroid sources and the kernel sources - both need patches in this case)
08:59.44MFaro-Tusinoseems easier in harmattan
09:02.16krnlyngyerp
09:03.02krnlyngMFaro-Tusino: you're gonna be amazed how simple it is to set it up :)
09:03.46MFaro-Tusinoits easy when i don't need to use ubiboot lol
09:06.18krnlyng:) the nitdroid dual boot kernel includes ashmem and all that stuff so its easy with that :)
09:07.04krnlyngit's also easy on nemo/sailfish (just a few kernel patches and android patches) but downloading&compiling takes some time
09:07.26krnlyngbut because it's easy it's not that usefull yet^^
09:09.24MFaro-Tusinoso i need nitdroid regardless?
09:09.57krnlyngnitdroid is a requirement yes :)
09:10.23krnlyngbut you don't need to boot it, just extract it somewhere on your device
09:10.29valdur55krnlyng: i will follow you :)
09:10.56krnlyngvaldur55: with the android stuff?
09:11.09valdur55yea
09:11.37valdur55harmattan and nitroid kernel.
09:11.48krnlyngok
09:12.11krnlyngvaldur55: you need to extract nitdroid somewhere (i used alpha4)
09:12.57krnlyngprefferable on an ext* partition, so not MyDocs if you have that formatted as vfat
09:13.44valdur55i have firefoxOS in /home/firefox :)
09:14.02valdur55i am downloading alpha5 now
09:14.32valdur55so. let's try with firefoxOS now :D
09:15.23valdur5512 min to wait .... so :) let's start.
09:18.26MFaro-Tusinokrnlyng: Doesn't need to be installed? just extracted?
09:19.00krnlyngMFaro-Tusino: in theory it should work if it's just extracted
09:19.23krnlyngonce it's downloaded and extracted you need to delete a few files
09:20.14krnlynginit.nokiarm-680board.rc, init.nokiarm-696board.rc, ueventd.nokiarm-680board.rc and ueventd.nokiarm-696board.rc
09:20.39krnlyngafterwards you need to chroot into it
09:20.46krnlyngchroot /path/to/nitdroid /init
09:20.50krnlyngas root
09:20.58krnlyngdone ;)
09:21.23valdur55ok.  no display ?
09:21.34krnlyngvaldur55: kind of
09:21.52krnlyngvaldur55: but display is a little broken
09:22.16valdur55ok.
09:22.25krnlyngthats what i am experimenting with right now
09:23.04valdur55so :) it will work with firefoxoS :D
09:23.45krnlyngi don't know about firefox os
09:23.55krnlyngandroid is a little different^^
09:24.44krnlyngyou will see that android and harmattan will render into the same buffer (which is of course strange and not the right thing :)) but i don't know if firefox does the screen initialisation the same way
09:26.55krnlyngi know someone who was able to get it to render in it's own window
09:27.01krnlyngso i know it's possible :)
09:29.04valdur55i have used debian with xfce desktop from chroot
09:29.14valdur55xephyr  or whatever
09:29.45valdur55in harmattan side, it needs X
09:30.11valdur55ok. but how can i run apps?
09:32.24krnlyngvaldur55: as i said its not there yet :)
09:32.40krnlyngbut you can try launching activities from the command line
09:32.50krnlyngsimply open a new terminal and do
09:32.57krnlyngchroot /path/to/nitdroid
09:33.01krnlyngwithout the /init parameter
09:33.10krnlyngand then use app_process to launch an activity
09:33.22valdur55ok :)
09:33.31valdur55i din't do /init :)
09:33.36krnlyngor "am start"
09:33.56krnlyngvaldur55: /init starts all the android services
09:34.08valdur55yes. i know
09:34.21krnlyngbut beware, you need to delete the files i mentioned earlier otherwise it will crash your phone
09:34.29valdur55i am everyday linux user :)
09:35.16krnlyngvaldur55: me too :) i don't even know how to use windows anymore
09:36.49valdur55windows 8.1 wft
09:37.25valdur55krnlyng: uevent and init maybe have some good parts...
09:38.21krnlyngvaldur55: good parts? yeah but they are not neccessary right now
09:38.37krnlyngif we manage to render into a window we can look further into those files
09:38.53krnlyngbut i think thats a lower priority
09:40.56valdur55nothing interesting there....
09:42.04krnlyngprobably just driver stuff
09:42.10krnlyngwhich it should not do ;)
09:42.18krnlyngbecause sailfish/nemo/harmattan does this
09:42.24valdur55yea.
09:42.43valdur55ok. is interesting nothing more... /system/b2g/b2g
09:46.33valdur55and there is /system/b2g/run-mozilla.sh . and $DISPLAY on it.
09:46.53valdur55ok screwed :D need restart... fatal error opening "/sys/power/wake_lock"
09:47.00valdur55fatal error opening "/sys/android_power/acquire_partial_wake_lock"
09:47.24valdur55/system/b2g # ./run-mozilla.sh b2g
09:48.52valdur55/system/b2g/run-mozilla.sh system/b2g/b2g   was right :)
09:50.02valdur55interesting: ## Solaris Xserver(Xsun) tuning - use shared memory transport if available
09:57.39valdur55did /init and it wen't to restart :D  ok i transport nitroid to phone...
09:58.04krnlyngvaldur55: if it reboots something probably tried to do something hardware related
09:58.42valdur55:)
09:59.13valdur55oh damn...i din't booted nitroid kernel :)
09:59.22valdur55lol!
09:59.55krnlyng:) that explains the wake lock messages ;)
10:04.16valdur55ok. i transported nitroid into phone... i go on with b2g ...
11:03.49MFaro-Tusinoodd - i can't install apps on sailfish on n950
11:03.56MFaro-TusinoI did the ssu trick that used to work
11:04.00MFaro-Tusinobut now - no luck
11:05.03*** join/#n950club lizardo (lizardo@nat/indt/x-bcefulndcvupowzk)
11:14.52krnlyngMFaro-Tusino: http://talk.maemo.org/showthread.php?p=1401368#post1401368
11:30.40MFaro-Tusinokrnlyng: Perfect - cheers!
11:30.58krnlyngMFaro-Tusino: did it work?
11:31.13MFaro-Tusinoyes - with a bit of tweaking
11:33.31krnlyngare we talking about the nitdroid stuff or the ssu stuff?
11:50.51MFaro-Tusinossu
11:50.59MFaro-TusinoYet to get around to nitdroid
11:51.08MFaro-Tusinodistracted playing PS4
12:23.00krnlyngMFaro-Tusino, valdur55: did you succeed?
12:23.04krnlyngi forgot to mention
12:23.08krnlynga few more files to delete
12:23.25krnlyngin /path/to/nitdroid/system/lib/hw/
12:23.35krnlyngall files which have omap or sgx in it
12:23.39krnlyngmust be deleted
12:25.55valdur55and then /init will work nicely?
12:26.29valdur55gralloc.nokiarm-696board.so etc ?
12:27.29valdur55gps.nokiarm-696board.so hwcomposer.nokiarm-696board.so gralloc.nokiarm-696board.so
12:27.59valdur55no more nokiarm files...
12:35.49valdur55ok. rebooted again :)
12:36.00valdur55echo $DISPLAY    gives :0
12:39.25krnlyngyes
12:39.49krnlyngdoes it still crash?
12:40.12valdur55crash ?  /init just stays
12:40.20krnlyngah ok
12:40.24krnlynginit doesnt print anything
12:40.36krnlyngtry "ps fax"
12:40.40krnlyngor pstree
12:40.44krnlyngor top
12:41.58valdur55on nitroid or harmattan?
12:43.06valdur55CPU: 69.9% usr  6.9% sys  0.0% nic 22.9% idle  0.1% io  0.0% irq  0.0% sirq
12:44.16krnlyngchroot into android (without /init) from another terminal and do /system/bin/logcat
12:44.25krnlyngi am not sure if it was sbin or bin
12:44.52valdur55D/dalvikvm( 4557): GC_CONCURRENT freed 312K, 4% free 8187K/8519K, paused 13ms+2ms, total 66ms
12:44.53krnlyngok /system/bin/logcat is fine
12:45.03krnlyngthats the dalvikvm :)
12:45.13valdur55I/ServiceManager( 4557): Waiting for service SurfaceFlinger... ...
12:45.30krnlyngare there any messages about gralloc or hwcomposer?
12:46.54valdur55E/FramebufferNativeWindow( 4526): couldn't open gralloc HAL (Not a typewriter)
12:47.00valdur55nothing about hwcomposer
12:47.24krnlynghmm
12:47.38krnlyngcan you do ls /path/to/nitdroid/system/lib/hw ?
12:48.30valdur55rebooted for cleaing logcat :)
12:49.35valdur55i moved gps.nokiarm-696board.so hwcomposer.nokiarm-696board.so gralloc.nokiarm-696board.so to /nokiarm
12:49.53valdur55before logcat ....
12:53.03valdur55xinit /usr/bin/$WMEXEC -- /usr/bin/Xephyr :1 -br -screen 858x480x16 -dpi 96 -fullscreen +kb -ac   << http://qole.org/files/harmattan/xephwm
13:03.09krnlyngvaldur55: whats that?
13:03.47krnlynghmm
13:04.07krnlyngvaldur55: can we make it render into a window this way?
13:04.33valdur55yea. it seems to work in that way...
13:04.58krnlyngdid you try it? :)
13:05.07valdur55not yet.
13:05.08krnlyngnow we need to know how to do this with wayland :D
13:08.56krnlynghttp://pastebin.com/i2zjywFL anything suspicious?
13:09.58valdur55btw /init is looping
13:10.31valdur55SPI vibrator ;D'
13:11.40valdur55E/FramebufferNativeWindow( 4252): couldn't open framebuffer HAL (Not a typewriter)
13:11.45valdur55E/FramebufferNativeWindow( 4252): couldn't open gralloc HAL (Not a typewriter)
13:15.49valdur55interesting: panel-nokia-dsi display0: pyrenees panel revision fe.91.96  :)
13:16.46valdur55ok omap or sgx deletion ...
13:16.56valdur55not nokiarm :D
13:21.52valdur55<PROTECTED>
13:24.14valdur55damn.. loaded but http://pastebin.com/tDsjTMnu
13:38.44valdur55btw. it i simpler to hunt down working init script  freezing issue
13:42.12valdur55oh nice: ./system/lib/egl/libEGL_POWERVR_SGX530_125.so
13:52.44krnlyngmaybe you need to copy the egl libraray from harmattan over libEGL_POWERVR_SGX530_125.so
13:53.03krnlyngon nemo/sailfish it worked without this but it might be necessary for you
14:03.01valdur55err. some libs was symblinked from harmattan
14:09.30valdur55EGL_BAD_DISPLAY interesting...
14:11.51krnlyngyeah we need to give eglGetDisplay an instance of an x11 window or wayland in my case
14:22.51valdur55so. then we do xinit on harmattan side and say to egl "take that as sa display" :D
14:23.20valdur55i try to run Xserver on android tablet...
14:23.51krnlyngi think we need to patch surfaceflinger so it uses it's own window
14:24.01krnlyngdid you have any graphical output yet :)?
14:24.22valdur55no. it just do a loop
14:25.24valdur55F/libc    ( 4185): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 4188 (SurfaceFlinger)
14:30.30krnlyngvaldur55: i think i am gonna try it on harmattan now
14:30.58valdur55krnlyng: ok :D
14:36.30valdur55oh nice.. i runned xserver on android and sended desktop app to device :D
16:06.33krnlyngvaldur55: where do i need to apply that orientation patch?
16:07.19valdur55wait for jolla's reaction ....    it is /usr/bin/lipstick patch
16:07.35valdur55oh. maybe you gan revet grc
16:07.46valdur55apply patch and then grc back
16:08.14krnlynggrc?
16:08.41valdur55or gcr whatever... qml to bin packing utility
16:18.22krnlyngvaldur55: can you try starting aliendalvik and post the output?
16:21.19valdur55how ?
16:21.36valdur55i am going to boot sailfish for testing my idea about camera ...
16:21.58krnlyngexecute as root /opt/alien/system/script/start_alien.sh
16:26.48valdur55ok. fixed camera width/height issue
16:27.18krnlyngvaldur55: does camera work for you?
16:30.06valdur55no. but it have wrong dimensions...
16:30.26valdur55black box isnt full screened.
16:32.31valdur55damn...
16:34.26krnlynghm?
16:36.16valdur55http://pastebin.ubuntu.com/6715675/
16:36.58valdur55i don't realy know how window._transpose works :D
16:44.07krnlyngvaldur55: do you have the alien log?
16:46.26valdur55not yet :D
17:08.26valdur55/bin/sh: /opt/alien/system/script/start_alien.sh: not found
17:08.53valdur55or i should run it on sailfish? :D
17:14.13krnlyngon sailfish
17:32.29*** join/#n950club RzR (~RzR@82.236.136.171)
17:48.26valdur55oops. alien is not installed...
17:48.37valdur55and i need fix ssu issue
17:55.33valdur55kmod-mysatroker
18:05.30valdur55http://pastebin.com/X5ra9mry
18:07.59krnlyngvaldur55: kmod-mysatroker isn't the issue
18:08.13krnlyngERROR: Can't load libalien_glue, make sure LD_LIBRARY_PATH is set or missing some libbary.
18:08.15krnlyngthis is the issue
18:08.23krnlyngand i don't understand why that is happening^^
18:09.53valdur55ok. just pointed out that it instllation failed :)
18:10.59krnlyngi get the same log
18:11.01krnlyngbut why...
18:11.12krnlyngvaldur55: btw mysatroker.ko works on the 3.5.3 kernel ;)
18:12.45valdur55it is ignored?
18:12.50valdur55LD_LIBRARY_PATH
18:13.32valdur55echo $LD_LIBRARY_PATH  < empty
18:18.11valdur55http://pastebin.com/mchHwwfh  go go go...
18:18.30valdur55export LD_LIBRARY_PATH=/opt/alien/system/lib/:/opt/alien/system/genv/lib/ helped
18:23.43valdur55it searches only last folder
18:53.19*** join/#n950club krnlyng (~liar@83.175.90.24)
18:58.11krnlyngvaldur55: my internet went down sorry, did you say something?
18:59.46krnlyngvaldur55: i tried setting LD_LIBRARY_PATH before, for me it didn't work
19:00.06krnlyngvaldur55: i scanned a few of the binaries and saw a LD_AOUT_LIBRARY_PATH variable
19:00.18krnlyngbut that didn't fix it either
19:01.32krnlyngvaldur55: http://pastebin.com/kAEd5tCA
19:17.40valdur55export LD_LIBRARY_PATH=/opt/alien/system/lib/:/opt/alien/system/genv/lib/ helped  http://pastebin.com/mchHwwfh  go go go..
19:21.09*** join/#n950club ZogG_laptop (~ZogG_lapt@bzq-79-183-128-254.red.bezeqint.net)
19:21.09*** join/#n950club ZogG_laptop (~ZogG_lapt@funtoo/user/ZogG)
19:22.09krnlyngvaldur55: i still get the same errors :|
19:22.43valdur55http://pastebin.com/LKUSmwzc
19:23.00valdur55i made several attempts and got new error
19:23.33valdur55/opt/alien/system/genv/bin/aliensensorserver: error while loading shared libraries: libQt5Location.so.5: cannot open shared object file: No such file or directory
19:28.11valdur55i have an idea....
19:28.38valdur55oh. i have real jolla /var/lib/env  somewhere...
19:35.29krnlyngcan you upload your /var/lib/env ?
19:40.31valdur55export LD_LIBRARY_PATH=$ANDROID_ROOT/genv/lib
19:40.44valdur55gexe.sh
19:43.01valdur55wow. some items ar in /lib
19:48.00valdur55krnlyng: no point.. it is default
19:48.33valdur55and LD ... is defined in somewhere else.
19:48.49ZogG_laptopsup
19:49.48valdur55ZogG_laptop: hey!
19:56.13*** join/#n950club smokex (smokex@gateway/shell/panicbnc/x-wgefqdldzqpsiqdk)
19:58.17krnlyngvaldur55: were?
19:58.53krnlyngi have an old version of alien which does spit out linker errors later, and LD_LIBRARY_PATH is unset :( strange
20:04.24valdur55/system/genv/bin/gexe.sh
20:04.26valdur55damn.
20:18.09valdur55libcutils.so^@liblog.so^@libc.so^@libstdc++.so^@libm.so^
20:19.12*** join/#n950club krnlyng (~liar@188-22-201-114.adsl.highway.telekom.at)
20:19.54krnlyngdamn interwebs
20:19.56krnlyngvaldur55: <krnlyng> i have an old version of alien which does spit out linker errors later, and LD_LIBRARY_PATH is unset :( strange
20:20.16valdur55/system/genv/bin/gexe.sh
20:20.29valdur55list of libs  libcutils.so^@liblog.so^@libc.so^@libstdc++.so^@libm.so^
20:23.52ZogG_laptopkrnlyng: NEVER
20:23.54ZogG_laptopEVER
20:23.56ZogG_laptopAGAIN
20:24.03ZogG_laptopsay bad things about interwebs
20:24.08krnlynglol
20:25.03krnlyngfor a brief moment i was like: "what have i done wrong :O:O:O?"
20:25.56valdur55and i got logic there.. las item is really failure..
20:26.08valdur55a filed load because b failed load because c failed
20:26.36valdur55last one: http://pastebin.com/Z4zxjgVE
20:26.43valdur55copyed some stuff from /lib
20:27.22krnlyngfrom /lib oh
20:27.26krnlyngwhat did you copy?
20:28.13krnlyngvaldur55: did you try adding /lib to LD_LIBRARY_PATH
20:28.33valdur55Yes,'
20:29.03ZogG_laptopwhat are you hacking kids?
20:29.32krnlyngZogG_laptop: a few things
20:29.44krnlyngZogG_laptop: android chroot on sailfish/nemo and harmattan
20:29.51krnlyngZogG_laptop: and currently aliendalvik
20:30.35krnlyngalso 3.5.3 kernel :)
20:30.37valdur55wiow ! reboot: error while loading shared libraries: /opt/alien/system/genv/lib/libc.so.6: file too short
20:30.50krnlyng:O
20:32.05valdur55ok. LD_LIBS_PATH :)
20:32.24krnlyngis LD_LIBS_PATH the right setting :O?
20:32.43krnlyngvaldur55: if you get to the point where it tries to do gralloc/hwcomposer stuff, copy the hwcomposer.default.so and gralloc.default.so and so on over from nitdroid to /opt/alien/system/lib/hw and don't forget to delete all the jolla(msm) modules
20:33.53valdur55have you got at it so far?
20:34.06krnlyngnot yet
20:34.22krnlyngi got it that far with an older aliendalvik version
20:34.30krnlyng(from 1.0.0.5)
20:37.47valdur55ok :)
21:15.03ZogG_laptopwhy don't you ask e-eyes to help you if he minds
22:56.16*** join/#n950club npm (~npm@cpe-76-90-90-42.socal.res.rr.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.