*** CrKit <CrKit!~nekit@95-83-60-246.saransk.ru> has joined #sfdroid | 07:06 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 07:19 | |
Mister_Magister | Guys if i want to use standard sfdroid i have to have cyanogen sources iirc right? Or can i help somehow with anbox? | 07:35 |
---|---|---|
nh1402 | Mister_Magister: yes | 07:36 |
Mister_Magister | nh1402: yes to both? | 07:37 |
nh1402 | well, both will require some programming, so might as well help with anbox | 07:38 |
Mister_Magister | are you guys still working at standard sfdroid or anbox only now? | 07:40 |
nh1402 | anbox only | 07:41 |
nh1402 | when we're free that is, everyone has been busy with stuff past few weeks, I should be free-er from next week, so will jump back on development | 07:42 |
Mister_Magister | nh1402: sure i'm just wondering which one i should choose. sfdroid is working but nobody is working on it or anbox which is not working but better and everybody is working on it | 07:43 |
nh1402 | anbox - Android Nougat 7.1.1 | 07:44 |
Mister_Magister | but it's totally not working | 07:44 |
nh1402 | latest working sfdroid Android Lollipop 5.0 | 07:44 |
nh1402 | Mister_Magister: you can help make it work | 07:44 |
nh1402 | Mister_Magister: which device + kernel version? | 07:44 |
nh1402 | kernel patches will be required for anbox | 07:45 |
Mister_Magister | titan + 3.4 | 07:46 |
nh1402 | hmm | 07:46 |
Mister_Magister | i know programming a bit :V | 07:46 |
Mister_Magister | well when saidinesh5 saw my code i throw it to trash D: | 07:46 |
nh1402 | it currently boots on 3.10 kernel I think, those with 3.4 kernel are having problems atm. saidinesh5 and I with our respective phones | 07:47 |
nh1402 | 3 heads should be able to figure out why anbox refuses to boot on 3.4 kernel, maybe more patches required, maybe something else. | 07:48 |
Mister_Magister | nh1402: so what should i do | 07:53 |
nh1402 | Mister_Magister: https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commits/anbox | 07:55 |
nh1402 | march 19th commit and above | 07:55 |
nh1402 | apply those kernel patches | 07:56 |
Mister_Magister | nh1402: so anbox you say :D | 07:58 |
nh1402 | yes | 07:58 |
Mister_Magister | nh1402: anbox doesn't need android sources right? | 08:03 |
nh1402 | Mister_Magister: well for the time being you can just install the rpm that saidinesh has built on obs | 08:04 |
Mister_Magister | okay | 08:04 |
nh1402 | most things if not all, should be device independent so all devices should (more or less) use the same android rom for anbox | 08:04 |
Mister_Magister | i've learned kernel modifying a bit when i was adding HCISMD so adding overlayfs will be no problem (and other patches) | 08:06 |
nh1402 | once the 3 of us (saidnesh5, yourself and I) can get anbox booting, then we'll move on to making anbox usable. | 08:10 |
Mister_Magister | oh wait overlayfs is already there | 08:11 |
Mister_Magister | nh1402: i have nexus 7 2013 too and will have moto x force so we can play with different kernels :D | 08:12 |
nh1402 | it is?, is it enabled | 08:12 |
Mister_Magister | nah just enbled it | 08:12 |
Mister_Magister | moving on | 08:13 |
nh1402 | which kernel version dose the x force have? | 08:13 |
nh1402 | Mister_Magister: iirc people managed to get the nexus 7 2013 to work with a mainline kernel, is the Sailfish port using that? | 08:15 |
Mister_Magister | nope | 08:16 |
Mister_Magister | x force has 3.10 iirc | 08:16 |
Mister_Magister | it's 64bit so i think it has to me 3.10 | 08:18 |
nh1402 | Mister_Magister: I think you'll have less hassle with that | 08:19 |
nh1402 | the X force that is | 08:19 |
Mister_Magister | still i want to make sfdroid for both :D | 08:19 |
Mister_Magister | i don't care about nexus 7 since aliendalvik from nexus 4/5 is working on it | 08:19 |
nh1402 | yes, but maybe you'll have a better idea how to get it working on your titan, if you already have it working on x force | 08:20 |
Mister_Magister | nh1402: i'll get x force in ~2 months so i will stick with titan for now | 08:23 |
nh1402 | fair enough | 08:24 |
Mister_Magister | nh1402: look at this https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commit/6c55ec9eca59e83fcfce6f1770bf497fae76f7de i don't have binder_state_show | 08:42 |
nh1402 | sure you do | 08:43 |
Mister_Magister | nope i don't | 08:43 |
nh1402 | well I couldn't even apply the kernel patches myself, the cm13 porter for nexus 5 guy helped me out by doing all the kernel patching work, after I struggled for a month failing to do it. | 08:45 |
nh1402 | so I'm afraid I can't help with that. | 08:45 |
Mister_Magister | goddamit | 08:46 |
nh1402 | Mister_Magister: you could ask on sailfishos-porters channel, although not porting related, they should know about kernels enough to help, I think. | 08:58 |
Mister_Magister | now i'm stuck. If i don't have binder_state_show and binder_status_show then i think i don't have to carry about them or add them | 08:58 |
Mister_Magister | nh1402: i'm not even sure what should i ask | 09:00 |
nh1402 | Mister_Magister: heck you could ask on anbox channel | 09:00 |
Mister_Magister | but what | 09:01 |
Mister_Magister | welp nexus 7 have it and even htc from 2010 have it. Weird motorola is weird | 09:03 |
Mister_Magister | if those functions are not even used in kernel why should i care about them or why shouldn't i just add them | 09:03 |
Mister_Magister | yeah i'll skip 'em | 09:06 |
*** TheKit <TheKit!~nekit@178-45-10-64.saransk.ru> has joined #sfdroid | 10:04 | |
*** CrKit <CrKit!~nekit@95-83-60-246.saransk.ru> has quit IRC (Ping timeout: 255 seconds) | 10:07 | |
*** NeKit <NeKit!~nekit@95-83-60-246.saransk.ru> has quit IRC (Ping timeout: 268 seconds) | 10:07 | |
*** NeKit <NeKit!~nekit@178-45-10-64.saransk.ru> has joined #sfdroid | 10:08 | |
Mister_Magister | nh1402: Hah i know! I don't have binder_stats_show but i have binder_stats_find | 10:54 |
Mister_Magister | nh1402: i have kernel now what | 10:59 |
nh1402 | Mister_Magister: devel-su ssu ar anbox-obs http://repo.merproject.org/obs/home:/saidinesh5:/anbox/sailfish_latest_armv7hl/ | 11:03 |
nh1402 | actually not sure if that should be as root | 11:03 |
nh1402 | think these are though "zypper ref anbox-obs && zypper in anbox-sailfishos" | 11:03 |
Mister_Magister | nh1402: no difference | 11:04 |
nh1402 | HOLD wrong stuf | 11:04 |
nh1402 | f | 11:04 |
nh1402 | the first one is right though | 11:04 |
Mister_Magister | what | 11:04 |
nh1402 | devel-su zypper ref anbox-obs && devel-su zypper dup --from anbox-obs | 11:04 |
Mister_Magister | wrong package? | 11:04 |
nh1402 | devel-su zypper in --force anbox-sailfishos-image anbox-sailfishos | 11:05 |
nh1402 | zypper in coreutils binutils | 11:05 |
nh1402 | zypper in --force anbox-sailfishos-image anbox-sailfishos | 11:05 |
Mister_Magister | but anbox-sailfishos-image is already above | 11:06 |
Mister_Magister | 200MB omfg | 11:06 |
nh1402 | it's the android image for anbox, compressed most likely | 11:11 |
Mister_Magister | nh1402: yep very very much compressed 198.5 MiB (199.1 MiB unpacked) | 11:14 |
nh1402 | hmm | 11:14 |
Mister_Magister | why every new phone looks like samsung or iphone -_- | 11:14 |
nh1402 | everything installed now | 11:14 |
Mister_Magister | what? | 11:14 |
nh1402 | is everything installed now, have you ran the commands? | 11:17 |
Mister_Magister | 200MB is downloading | 11:17 |
Mister_Magister | yep it's done | 11:22 |
Mister_Magister | nh1402: what now? | 11:25 |
nh1402 | any errors? | 11:27 |
Mister_Magister | you mean that https://pastebin.com/ZBB7FnSW? | 11:28 |
nh1402 | hmm | 11:30 |
nh1402 | I can't even refer to my errors since the bpaste has gone | 11:33 |
nh1402 | F it, try running it | 11:34 |
nh1402 | although I can't tell if the rpm failed to install or not | 11:35 |
Mister_Magister | nh1402: zypper says it's installed | 11:35 |
Mister_Magister | how to run it? | 11:35 |
Mister_Magister | oh there is an icon | 11:35 |
nh1402 | devel-su anbox container-manager --privileged & | 11:35 |
nh1402 | forget the icon | 11:36 |
nh1402 | anbox session-manager | 11:36 |
Mister_Magister | [EE 2017-06-21 11:37:20] [daemon.cpp:58@Run] Failed to connect to socket /run/anbox-container.socket: No such file or directory | 11:37 |
Mister_Magister | ah wait | 11:37 |
Mister_Magister | devel-su | 11:37 |
Mister_Magister | Failed to mount Android rootfs | 11:38 |
nh1402 | the container as root, the session-manager should not be as root | 11:38 |
Mister_Magister | yep | 11:38 |
nh1402 | you're missing a kernel patch I think | 11:38 |
Mister_Magister | oh | 11:39 |
Mister_Magister | i didn't reboot sorry i forgort | 11:39 |
nh1402 | mkdir -p /var/lib/anbox/rootfs | 11:39 |
nh1402 | actually, run that command first, if the error doesn't go away maybe you're missing a patch | 11:40 |
Mister_Magister | welp i have all those paches (Almost some kernel flags were missing) and it still cannot mount android rootfs | 11:43 |
nh1402 | mkdir -p /var/lib/anbox/rootfs | 11:45 |
nh1402 | did you run that command? | 11:46 |
nh1402 | Mister_Magister: ^ | 11:50 |
Mister_Magister | nh1402: didn't helped | 11:53 |
nh1402 | prove it | 11:53 |
Mister_Magister | what? | 11:53 |
nh1402 | that it didn't help... | 11:54 |
Mister_Magister | it still fails with Failed to mount Android rootfs? | 11:54 |
nh1402 | yes | 11:55 |
Mister_Magister | mount("/dev/loop7", "/var/lib/anbox/rootfs", "squashfs", MS_MGC_VAL|MS_RDONLY, NULL) = -1 EINVAL (Invalid argument) | 11:55 |
*** m01 <m01!~quassel@2a00:1a48:7808:102:be76:4eff:fe08:b79c> has quit IRC (Remote host closed the connection) | 11:56 | |
*** m01 <m01!~quassel@2a00:1a48:7808:102:be76:4eff:fe08:b79c> has joined #sfdroid | 11:56 | |
nh1402 | so it's squashfs related | 11:57 |
Mister_Magister | maybe can i try mounting it manually? | 11:58 |
nh1402 | you can try, but I don't know how to do that | 11:59 |
Mister_Magister | me neither | 11:59 |
Mister_Magister | nh1402: oh i know what is wrong | 12:02 |
Mister_Magister | i'm missing this https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commit/336afe684ef41d6063613056bcf3f07aefd4c385#diff-9f3af329815ab6205196cd2c9a770540R3514 | 12:02 |
Mister_Magister | need to add it to my kernel | 12:02 |
nh1402[m] | Told you | 12:05 |
Mister_Magister | nh1402[m]: now anbox session-manager is running and nothing is happening | 12:13 |
nh1402[m] | I believe that's as far as I've gotten | 12:14 |
nh1402[m] | No errors? | 12:14 |
Mister_Magister | nope (maybe in dmesg or somewhere) | 12:16 |
mal | I assume none of the android processes are running inside the container? | 12:17 |
Mister_Magister | wait actually i got something | 12:18 |
Mister_Magister | https://pastebin.com/QxBfptLt | 12:18 |
Mister_Magister | how can i know | 12:18 |
Mister_Magister | and at the end of that binder: undelivered death notification, b7dc3898 | 12:19 |
Mister_Magister | actually that don't have to be anbox problem | 12:21 |
nh1402 | Mister_Magister: but it could be related to the patch you skipped over | 12:33 |
Mister_Magister | nh1402: after reboot it's all good | 12:33 |
nh1402 | it boots? | 12:34 |
Mister_Magister | how can i know i just ran anbox session-manager | 12:35 |
Mister_Magister | and nothing special is happening | 12:36 |
Mister_Magister | nothing in dmesg nothing in ps -aux | 12:37 |
nh1402 | have you run the container-manager? | 12:39 |
nh1402 | devel-su anbox container-manager --privileged & | 12:39 |
Mister_Magister | yes | 12:40 |
Mister_Magister | both are running | 12:40 |
Mister_Magister | ps devel-su anbox container-manager --privileged & will not allow you to type password | 12:41 |
nh1402[m] | devel-su anbox container-manager --privileged | 12:45 |
nh1402 | Mister_Magister: that would be because of the ampersand | 12:45 |
Mister_Magister | nh1402: that's why you have to enter devel-su first | 12:46 |
Mister_Magister | and then you can run it | 12:46 |
nh1402 | yes, or that | 12:46 |
nh1402 | does it not print anything then? | 12:47 |
nh1402 | Mister_Magister: I'll take that as a no | 12:58 |
Mister_Magister | nh1402: ah sorry, no it print's nothing | 12:58 |
Mister_Magister | only some warning | 12:59 |
nh1402 | what's the warning? | 12:59 |
Mister_Magister | "You are running the container manager manually which is most likely not" blablabla | 13:00 |
Mister_Magister | it freezes | 13:00 |
nh1402 | Mister_Magister: maybe the guys at #anbox can help you | 13:01 |
Mister_Magister | and while running strace i saw Resource temporarily unavailable | 13:01 |
Mister_Magister | well it freezes at poll([{fd=9, events=POLLIN}, {fd=3, events=POLLIN}], 2, -1 so maybe it's waiting for something | 13:09 |
nh1402 | Mister_Magister: maybe the guys at #anbox can help you | 13:13 |
Mister_Magister | yeah yeah... | 13:13 |
nh1402 | Mister_Magister: how's it going? | 14:04 |
Mister_Magister | didn't ask | 14:04 |
nh1402 | Mister_Magister: I know, I was wondering if you sorted the problem out yourself | 14:07 |
Mister_Magister | nh1402: wondering where is sfdroid part | 14:08 |
nh1402 | rendering | 14:11 |
Mister_Magister | nh1402: you mean that app? | 14:12 |
nh1402 | what? | 14:13 |
Mister_Magister | nuthing | 14:15 |
Mister_Magister | asked on anbox waiting for answer | 14:17 |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 15:35 | |
*** NeKit <NeKit!~nekit@178-45-10-64.saransk.ru> has quit IRC (Ping timeout: 260 seconds) | 16:08 | |
*** Sailor9516 <Sailor9516!~sailfish@059149201093.ctinets.com> has joined #sfdroid | 16:34 | |
Sailor9516 | hey | 16:35 |
*** Sailor9516 <Sailor9516!~sailfish@059149201093.ctinets.com> has quit IRC (Ping timeout: 268 seconds) | 16:40 | |
Mister_Magister | nh1402[m]: what is the status of normal sfdroid? | 17:54 |
nh1402[m] | It still hasn't changed from this morning | 17:55 |
Mister_Magister | nh1402[m]: haha i mean on what status development stopped. What was working and what was not? | 18:03 |
nh1402[m] | Sfdroid cm10 stopped past proof of concept, cm11 stopped after cm12 rebase, cm12 sensors and touchscreen work, and choice between single window and multi window via icons in app drawer but still hack-y I think, Sfdroid cm13 doesn't work, or even exist | 18:06 |
*** srohmen <srohmen!~srohmen@x5ce4922a.dyn.telefonica.de> has joined #sfdroid | 18:25 | |
*** srohmen <srohmen!~srohmen@x5ce4922a.dyn.telefonica.de> has quit IRC (Quit: Leaving.) | 18:51 | |
Mister_Magister | nh1402[m]: i've got an idea. since it will be hard getting anbox on 3.4 kernel and sfdroid is usable with cm12.1 then on titan i can stick with sfdroid (it will be usable to use some apps) and on moto x force i'll try to fix anbox with you and saidinesh5. What do you think? | 20:23 |
nh1402[m] | Its not necessarily hard, we just don't know why it doesn't work. | 20:24 |
Mister_Magister | oh okay forget it then | 20:24 |
Mister_Magister | people on #anbox are not answering | 20:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!