sledges | CorvetteZR1: that tethering needs some love.. | 00:00 |
---|---|---|
sledges | usb-moded is the project, if you want to look at ;) | 00:01 |
mal- | sledges: what command did you use for file transfer? I was trying to find some suitable but could not find one yet | 00:01 |
CorvetteZR1 | cool, thx | 00:01 |
sledges | mal-: UI :) | 00:01 |
mal- | :) | 00:01 |
sledges | back in the day i used hci* commands | 00:01 |
*** r0kk3rz has quit IRC | 00:01 | |
sledges | or obex for internet sharing | 00:01 |
sledges | those were the days:) | 00:01 |
sledges | rfcomm | 00:01 |
sledges | </memory_dump< | 00:02 |
klopsi-u3 | slip? | 00:02 |
mal- | could not find obex in the package repos | 00:02 |
sledges | it was rfcomm for internet sharing | 00:02 |
sledges | now that i think about it | 00:02 |
sledges | klopsi-u3: i think it used slip/ppp on its own | 00:02 |
sledges | already:) | 00:02 |
sledges | it=my laptop, internet on phone (htc wildfire) yeaars ago | 00:02 |
sledges | not even jolla existed:) | 00:03 |
sledges | p.j. and a.d. :D | 00:03 |
sledges | a.j.:p | 00:03 |
klopsi-u3 | you are a young padawan :) | 00:04 |
sledges | sorry had to look that up :PD | 00:05 |
*** 18VABY2HJ is now known as thp | 00:08 | |
*** thp has joined #sailfishos-porters | 00:08 | |
*** CorvetteZR1 has quit IRC | 00:09 | |
dwangoAC | sledges: Oh? | 00:12 |
sledges | oh yes:) | 00:12 |
dwangoAC | sledges: Glad to hear you got bluetooth working on the N4! | 00:12 |
sledges | it was zanac who got it;) | 00:12 |
dwangoAC | sledges: Cool - umm... still reading, where do I snag it? | 00:13 |
sledges | wait till next release or recompile kernel yourslf:) | 00:13 |
dwangoAC | Heh | 00:14 |
dwangoAC | sledges: When is the next release scheduled? | 00:14 |
sledges | asap | 00:14 |
dwangoAC | I'm not opposed to compiling myself, but quite honestly, I'd like to take a break from it :) | 00:14 |
dwangoAC | Ah, OK | 00:14 |
sledges | well, it's justa kernel rebuild | 00:15 |
sledges | no other bits | 00:15 |
dwangoAC | I can wait for asap, that sounds like days / weeks as opposed to months | 00:15 |
sledges | lol yea ok | 00:15 |
sledges | dang it can't find me bt keyboard | 00:15 |
sledges | :/ | 00:15 |
sledges | so i painted it yellow in the table for now | 00:15 |
dwangoAC | sledges: Bummer, I love my BT keyboard (ThinkOutside 3-row with Fn key for numbers) | 00:15 |
sledges | my one is motorolla | 00:15 |
sledges | -l | 00:15 |
dwangoAC | Oh, I can test the keyboard once I get a build | 00:15 |
sledges | probably needs some additional hci hid flag in kernel | 00:16 |
dwangoAC | sledges: Keyboard not working won't stop me from using BT hands-free kit, and that's what I'm required by California law to use | 00:17 |
dwangoAC | (well, when driving) | 00:17 |
sledges | remember, i tested only pair2pair ;) | 00:17 |
dwangoAC | Heh | 00:17 |
sledges | (sic) | 00:17 |
dwangoAC | sledges: Fair enough. BTW, what does Android app support look like for the N4 (community or otherwise)? | 00:18 |
dwangoAC | Never going to happen, may happen but only if the community does it, or something else? | 00:18 |
dwangoAC | (My choice would be to pay you guys for it.) | 00:18 |
sledges | "never happen" is always hampered by the presence of community ;) | 00:19 |
dwangoAC | Heck, I'd pay near-obscene amounts of money if I had to ($50 to get Android app license? I'd flinch, but I'd do it... :) | 00:19 |
dwangoAC | This is mostly driven by my reent joy with HumbleBundle Android games like SpaceChem | 00:20 |
sledges | but how many developers within that community crave for android apps (i mean they already have an android phone they might be switching away into sailfish) | 00:20 |
sledges | games run natively | 00:20 |
sledges | they are most of the time just c binary using opengl | 00:20 |
sledges | i unpacked angry birds and it just worked back in the day | 00:20 |
sledges | these days you have apkenv for that | 00:20 |
stephg | heh | 00:21 |
sledges | there was community effort around apkenv recently | 00:21 |
dwangoAC | sledges: Wait, the community support is that far along? I clearly have some reading to do | 00:21 |
sledges | vakkov: ^ ;p | 00:21 |
dwangoAC | Feel free to tell me to go read something | 00:21 |
sledges | explain "that far along" | 00:21 |
sledges | apkenv is only for games, not for dalvik | 00:21 |
sledges | stephg: sneaky sneaky what's up!? ;) | 00:22 |
dwangoAC | sledges: Still, the fact that you were able to get Angry Birds gives me hope that other HumbleBundle purchases I've made might make it (SpellTower is awesome) | 00:22 |
sledges | yea all those cut the rope, fruit ninja etc | 00:23 |
stephg | not alot, been busy finishing up work before going back to,er, work on monday | 00:23 |
dwangoAC | sledges: Those work now? Is there a page with any information on this? | 00:23 |
sledges | lol | 00:23 |
stephg | madam on my shoulder right now | 00:23 |
stephg | and i want to go to bed but cant | 00:23 |
stephg | :) | 00:23 |
*** klopsi-u3 has quit IRC | 00:24 | |
sledges | xkcd 386 | 00:24 |
sledges | lol this is what google search suggested: http://www.explainxkcd.com/wiki/index.php/386:_Duty_Calls | 00:24 |
stephg | hahah | 00:25 |
sledges | dwangoAC: https://wiki.maemo.org/Apkenv/Game_Compatibility | 00:25 |
sledges | humblebundle sounds like retro games | 00:25 |
sledges | iirc | 00:26 |
*** klopsi-u3 has joined #sailfishos-porters | 00:26 | |
dwangoAC | sledges: Reading now | 00:26 |
stephg | ooh if I slouch I can use both hands | 00:27 |
stephg | sledges: hope you're well | 00:27 |
sledges | dwangoAC: im sure you'll like this one: https://github.com/CODeRUS/mupen64plus-sailfish | 00:27 |
dwangoAC | sledges: HumbleBundle sells all kinds of different games | 00:27 |
dwangoAC | sledges: Oh, heh | 00:27 |
sledges | stephg: yes, just working before going back to work:) | 00:27 |
stephg | hehe | 00:27 |
sledges | stephg: going to FOSDEM? | 00:27 |
sledges | (long shot but worth asking;) | 00:27 |
stephg | is too soon unfort :( would very much like to tho | 00:28 |
stephg | I have brownie points as I won't be able to go to Le Mans this year (because of a wedding) meaning I should be owed a trip | 00:28 |
stephg | what other conferences/*cough launch events cough* are there later this year I should be attending | 00:29 |
stephg | ;) | 00:29 |
* sledges coughs | 00:29 | |
dwangoAC | sledges: Hmm.. that's not a very long list, but it's a start. | 00:29 |
* stephg only joking | 00:29 | |
dwangoAC | sledges: Also, this seems to be really, really outdated | 00:30 |
dwangoAC | sledges: Is there a page for Android app store community efforts? (Again, seriously, I'd much rather just buy this from you guys somehow :) | 00:31 |
stephg | dwangoAC: you mean app store or runtime? | 00:31 |
dwangoAC | I could... er.. buy a Jolla handset that I can't use and copy the binary? But then I'd probably have to violate some EULA | 00:31 |
sledges | it won't run on non-jolla | 00:31 |
dwangoAC | stephg: Take stand-alone Android games and run them in Sailfish | 00:31 |
stephg | ah | 00:32 |
dwangoAC | sledges: That would be the "have to violate some EULA" part, now wouldn't it :) | 00:32 |
dwangoAC | (I wouldn't actually do that, BTW>) | 00:32 |
sledges | many tried;) | 00:32 |
dwangoAC | sledges: So if there is such demand, why not allow people to buy it? | 00:32 |
stephg | sledges is as usual technically correct | 00:32 |
sledges | dwangoAC: 3rd party, ever heard of myriad alien dalvik? | 00:33 |
dwangoAC | sledges: Yes | 00:33 |
dwangoAC | sledges: Back in the N9 days | 00:33 |
sledges | that's what's inside jolla phone | 00:33 |
dwangoAC | Right | 00:33 |
dwangoAC | I want to buy that. | 00:33 |
sledges | you're not the only one, and it's not about money | 00:33 |
dwangoAC | But their site, last I checked, had nothing. | 00:33 |
klopsi-u3 | whats it about? | 00:34 |
sledges | but let's see what the future brings | 00:34 |
sledges | there's more to it than money when it comes to business, and those things are non-disclosable | 00:34 |
dwangoAC | klopsi-u3: My guess, politics / licensing. | 00:34 |
dwangoAC | And possibly an exlusive use? | 00:34 |
sledges | support / maintenance (<- my guess, as i don't know real sit) | 00:34 |
sledges | what's there to use if it doesn't run on other hw?;) | 00:35 |
dwangoAC | Tizen? :) | 00:35 |
sledges | ? | 00:35 |
*** olafh has quit IRC | 00:35 | |
sledges | Tizen uses OpenMobile ACL | 00:36 |
dwangoAC | sledges: I'm thinking in a parallel direction - perhaps they are also marketing this toward the Tizen devs | 00:36 |
stephg | dwangoAC: if I were them I wouldn't have waited... | 00:36 |
dwangoAC | stephg: Yeah, there's something funky about Tizen too | 00:36 |
sledges | even if they do, it would not run on sailfish devices except jolla | 00:36 |
dwangoAC | Hm | 00:37 |
sledges | and ubuntu | 00:37 |
dwangoAC | Well, I guess I'll just hold out hope | 00:37 |
*** the_mgt_ has joined #sailfishos-porters | 00:37 | |
sledges | dwangoAC: you are a tas master aren't you? ;p | 00:37 |
dwangoAC | sledges: Sort of :) | 00:37 |
dwangoAC | I most recently TAS'ed a *lot* of Joust clones (that didn't end well) and C64anabalt, the Commodore 64 port of Canabalt | 00:38 |
dwangoAC | Well, Joust ports | 00:38 |
sledges | jolla, binary, alien, nexus4, tas | 00:39 |
sledges | catch my drift? ;) | 00:39 |
dwangoAC | sledges: Yes. Sort of. Umm.. not really, that'd be hard to get rerecording support for :) | 00:39 |
sledges | anyhow, im just blabbering:) | 00:40 |
dwangoAC | sledges: Let's phrase it this way, I'll go just short of violating the law to get Android app support working | 00:40 |
*** the_mgt has quit IRC | 00:40 | |
*** the_mgt_ is now known as the_mgt | 00:40 | |
sledges | you'd definitely get caught if you started distributing it | 00:40 |
dwangoAC | But I'm not into stealing if there's a way for me to buy something, any way at all - the Olympics were a prime example, there was no way in the US to buy access to the Olympics coverage if you didn't already have a cable subscription | 00:41 |
dwangoAC | So... I set up a proxy server in the UK and pretended to be in the UK, streamed to the US, worked great! | 00:41 |
dwangoAC | And I don't even think it was illegal | 00:41 |
Sazpaimon | technically you could have still paid for it by getting a cable subscription | 00:42 |
sledges | we might as well all confess now :)) | 00:42 |
klopsi-u3 | cloning this repo *9+GB* will take me a long time | 00:42 |
dwangoAC | Sazpaimon: Even *I* have morals, and the only option in the area is Comcast which is not something I will do. | 00:44 |
Sazpaimon | so its not there being a way to buy something | 00:44 |
Sazpaimon | its there being a way to buy something that you're happy with | 00:44 |
dwangoAC | Sazpaimon: Well, that and DirectTV, which locks you into an unbreakable contract and mistreats customers. | 00:44 |
Sazpaimon | which leaves a lot of room for exceptions | 00:45 |
dwangoAC | Sazpaimon: I'm thrilled that I'm able to use Sonic.net as my ISP, they don't do evil things | 00:45 |
stephg | right she's asleep, which means I can be too | 00:45 |
dwangoAC | stephg: Daughter? | 00:45 |
stephg | night all, catch you in the morning | 00:45 |
stephg | yeah | 00:45 |
klopsi-u3 | n8 stephg | 00:45 |
sledges | n!n | 00:45 |
dwangoAC | stephg: Heh - congrats, I remember those days. :) | 00:46 |
dwangoAC | Night! | 00:46 |
stephg | :) nn | 00:46 |
dwangoAC | Sazpaimon: Let me phrase it this way - with Comcast, I'm not willing to support criminals, and their behaior, at least in this area, has been utterly criminal | 00:47 |
sledges | alin: gremlins on nexus4 too means we did everything right on our part with nexus5 image | 00:48 |
sledges | (we=me+you-jolla:D) | 00:48 |
dwangoAC | Sazpaimon: Someone at my church had Comcast and they used a Vonage VoIP over Comcast to send faxes. One day, faxes just wouldn't go through, and even voice quality was rough. Around that time, she started getting several mailers a month promoting Comcast's VoIP offering. They were later caught deprioritizing Vonage's packets. | 00:48 |
klopsi-u3 | you are mr offtopic :) | 00:49 |
dwangoAC | Long story short, extremely anti-competitive behavior,b blatantly in violation of the law - I am not impressed. | 00:49 |
dwangoAC | klopsi-u3: Indeed I am, sorry about that. | 00:49 |
dwangoAC | klopsi-u3: I *was* on-topic. :) | 00:49 |
klopsi-u3 | no problem really | 00:49 |
klopsi-u3 | i cant do anything till my cyanogenmod repo downloads | 00:50 |
dwangoAC | The other day when I was talking about the TAS stuff, now *that* was off-topic :) | 00:50 |
sledges | lol gotta <3 the community | 00:50 |
klopsi-u3 | i miss the days when nokia gave me free hardware for porting games | 00:52 |
dwangoAC | klopsi-u3: I miss the days when Nokia wasn't a name that Microsoft is dropping like a hot potato | 00:52 |
dwangoAC | And I don't mean that in the "name-dropping" sense of the word | 00:52 |
klopsi-u3 | at least there is jolla | 00:53 |
klopsi-u3 | and in 2015 i want a phone running jolla | 00:53 |
sledges | a bastard child which is kicking ass to momy and dady %) | 00:54 |
sledges | klopsi-u3: running sailfish you mean;) | 00:56 |
dwangoAC | sledges: Heh | 00:56 |
klopsi-u3 | yes sorry | 00:56 |
klopsi-u3 | i see in the libhybris matrix two phones have gps working | 00:56 |
sledges | no pb | 00:56 |
dwangoAC | sledges: Well, I'll leave you alone, thanks for the TASing hint, I didn't hear it here and all that. | 00:56 |
sledges | klopsi-u3: that's untrue, gps works nearly on every phone - they all should be yellow | 00:57 |
dwangoAC | sledges: I'll keep my eyes open for the build. | 00:57 |
sledges | as package blocking them from UI is one ring to rule them thing %) | 00:57 |
klopsi-u3 | ah what means "not hooked up to U,,.." | 00:57 |
klopsi-u3 | oh i dont understand | 00:57 |
klopsi-u3 | the gps driver works but somehow the GPS map program cannot talk to it? | 00:58 |
sledges | dwangoAC: sure. btw i understood how come so many peeps like TAS - i just watcher 3mins of zelda links awakening runthrough and it brought back many memories, especially when completing the game :) | 00:58 |
sledges | one of those games in everyone's life that leave deep footprint:) | 00:59 |
sledges | whilst most other games are just meh:) | 00:59 |
dwangoAC | sledges: Heh, yep! | 00:59 |
dwangoAC | sledges: I bought a LttP cartridge just so I had it | 01:00 |
dwangoAC | Haven't touched it yet, but I will, with my son, soonish I hope | 01:00 |
sledges | klopsi-u3: yes | 01:00 |
sledges | klopsi-u3: sailfish apps cannot talk | 01:00 |
sledges | to gps | 01:00 |
klopsi-u3 | so for that libhybris needs more work ? | 01:01 |
sledges | no, it's a middlware piece missing, libhybris delivers best effort already | 01:01 |
sledges | brings out android low-level drivers to linux-sailfish world | 01:01 |
sledges | so where you see at least yellow in table, libhybris worked | 01:02 |
klopsi-u3 | ok i see two green phones HTC Desire and Sony Xperia Z1 | 01:02 |
sledges | they should be repainted yellow | 01:02 |
klopsi-u3 | ok | 01:03 |
sledges | porters didn't know the meaning | 01:03 |
*** rbn has quit IRC | 01:05 | |
klopsi-u3 | the middleware will be "write once, run on any phone"? | 01:06 |
sledges | yes | 01:06 |
sledges | it's already ready, just licencing/opensourcing issues | 01:07 |
sledges | because it needs to be decoupled from proprietary bits | 01:07 |
klopsi-u3 | argh | 01:07 |
sledges | (as you know jolla is using agps services from nokia) | 01:07 |
klopsi-u3 | ah | 01:08 |
sledges | jolla phone | 01:08 |
sledges | which naturally means non-jolla devices will get gps fix slower | 01:08 |
*** CorvetteZR1 has joined #sailfishos-porters | 01:08 | |
sledges | but as test_gps shows, that happens still quite quick | 01:08 |
klopsi-u3 | i have decent fix on droid 4 without a sim card installed | 01:09 |
sledges | we talked about why businesses can't just start selling to more demand - it's huge overhead, similar questions were about why jolla maps doesn't have live turn-by-turn navigation | 01:09 |
sledges | i don't have the answers why, but just saying that externally trivial things in reality are not that easy | 01:10 |
klopsi-u3 | mm ok | 01:10 |
sledges | but we have nice opensource alternatives like modrana | 01:11 |
klopsi-u3 | that has turn by turn? | 01:11 |
klopsi-u3 | on android i use mapfactor navigator with OSM maps | 01:12 |
klopsi-u3 | even has hiking trails in germany | 01:12 |
sledges | im talking about native apps | 01:12 |
sledges | as you know no android apps supported on sailfish devices for now;) | 01:12 |
klopsi-u3 | hmm modrana is from maemo? | 01:13 |
sledges | yes | 01:13 |
klopsi-u3 | ok | 01:15 |
klopsi-u3 | i think ill sleep now and hopefully find time to work on my SDK tomorrow | 01:15 |
klopsi-u3 | nice chatting sledges | 01:16 |
sledges | u2, n!n | 01:17 |
*** CorvetteZR1 has quit IRC | 01:17 | |
*** Lipevakala has quit IRC | 01:26 | |
*** Lipevakala has joined #sailfishos-porters | 01:27 | |
*** rbn has joined #sailfishos-porters | 01:35 | |
*** rbn has quit IRC | 02:19 | |
*** Lipevakala has quit IRC | 02:37 | |
*** zama has quit IRC | 03:08 | |
*** Lipevakala has joined #sailfishos-porters | 03:09 | |
*** Lipevakala_ has joined #sailfishos-porters | 03:10 | |
*** zama has joined #sailfishos-porters | 03:10 | |
*** Lipevakala has quit IRC | 03:14 | |
*** Lipevakala_ has quit IRC | 03:15 | |
*** Lipevakala_ has joined #sailfishos-porters | 03:15 | |
*** Lipevakala_ has quit IRC | 03:20 | |
*** M4rtinK has quit IRC | 03:25 | |
*** vrutkovs|home has quit IRC | 03:40 | |
*** Lipevakala_ has joined #sailfishos-porters | 03:45 | |
*** spiiroin_ has joined #sailfishos-porters | 03:54 | |
*** spiiroin has quit IRC | 03:57 | |
*** Lipevakala_ has quit IRC | 03:57 | |
*** zanac has joined #sailfishos-porters | 04:13 | |
locusf | okay got more information on the hwcomposer returning -22, its -EINVAL, returned http://code.metager.de/source/xref/android/4.2/hardware/ti/omap4xxx/hwc/hwc.c#1966 in this file | 04:53 |
locusf | the strcmp fails, this is replicant as base system and hybris-10.1 as nemo rootfs | 04:54 |
*** furikku has joined #sailfishos-porters | 05:00 | |
*** Lipevakala_ has joined #sailfishos-porters | 05:07 | |
*** Lipevakala_ has quit IRC | 05:12 | |
*** Lipevakala_ has joined #sailfishos-porters | 05:26 | |
*** Lipevakala_ has quit IRC | 05:55 | |
*** Lipevakala_ has joined #sailfishos-porters | 06:03 | |
*** zanac has quit IRC | 06:25 | |
*** olafh has joined #sailfishos-porters | 06:31 | |
*** Lipevakala has joined #sailfishos-porters | 06:35 | |
*** Lipevakala_ has quit IRC | 06:36 | |
*** Lipevakala has quit IRC | 06:42 | |
*** Lipevakala has joined #sailfishos-porters | 06:46 | |
*** Lipevakala_ has joined #sailfishos-porters | 06:57 | |
*** Lipevakala has quit IRC | 06:58 | |
*** Lipevakala has joined #sailfishos-porters | 06:58 | |
*** Lipevakala_ has quit IRC | 07:01 | |
*** Lipevakala has quit IRC | 07:12 | |
*** Lipevakala_ has joined #sailfishos-porters | 07:33 | |
*** Lipevakala has joined #sailfishos-porters | 07:34 | |
*** Lipevakala_ has quit IRC | 07:36 | |
*** Lipevakala_ has joined #sailfishos-porters | 07:36 | |
*** Lipevakala has quit IRC | 07:38 | |
*** Lipevakala has joined #sailfishos-porters | 08:04 | |
*** Lipevakala_ has quit IRC | 08:04 | |
*** Lipevakala_ has joined #sailfishos-porters | 08:05 | |
*** Lipevakala has quit IRC | 08:09 | |
*** zhxt has quit IRC | 08:38 | |
*** zhxt has joined #sailfishos-porters | 08:39 | |
*** uhhimhere has quit IRC | 08:43 | |
*** uhhimhere has joined #sailfishos-porters | 09:07 | |
*** Lipevakala_ has quit IRC | 09:18 | |
*** Lipevakala_ has joined #sailfishos-porters | 09:19 | |
*** Lipevakala_ has quit IRC | 09:20 | |
*** Lipevakala_ has joined #sailfishos-porters | 09:21 | |
*** Lipevakala_ has joined #sailfishos-porters | 09:22 | |
*** plfiorini has quit IRC | 09:34 | |
*** r0kk3rz has joined #sailfishos-porters | 09:36 | |
mal- | I get droid-util.c: Unknown entry AUDIO_DEVICE_OUT_ANC_HEADSET | 09:38 |
mal- | droid-util.c: Failed to parse configuration from /system/etc/audio_policy.conf | 09:38 |
*** arcean has joined #sailfishos-porters | 09:38 | |
sledges | locusf: and what hwmodule name does libhybris request if not "composer"? | 09:42 |
sledges | mal-: is that entry amongst your android headers (audio.h) ? | 09:42 |
sledges | pa entry checking just got stricter, but should be relaxed again soon | 09:43 |
sledges | mal-: https://github.com/mer-hybris/pulseaudio-modules-droid/pull/21#issuecomment-70234414 | 09:43 |
*** mispp_ has quit IRC | 09:43 | |
*** mispp has joined #sailfishos-porters | 09:44 | |
mal- | so too new cm maybe | 09:44 |
*** piggz has joined #sailfishos-porters | 09:46 | |
mal- | sledges: that entry is at least in /usr/lib/droid-devel/droid-headers/system/audio.h | 09:49 |
*** Lipevakala_ has quit IRC | 09:54 | |
*** klopsi-sdk has joined #sailfishos-porters | 09:55 | |
klopsi-sdk | breakfast maserati :) | 09:55 |
sledges | mal-: rpm -qf /usr/lib/droid-devel/droid-headers/system/audio.h | 09:55 |
sledges | klopsi-u3: buon apetit! | 09:55 |
mal- | sledges: droid-hal-iyokan-devel-0.0.6-201501110839.armv7hl | 09:56 |
mal- | that reminds me that it's time for breakfast | 09:57 |
sledges | mal-: means that file is from system/core/include/system/ | 09:59 |
mal- | which means what? | 10:03 |
sledges | mal-: you'll need to backport https://github.com/mer-hybris/pulseaudio-modules-droid/commit/df073d0975341bd7a3f6fee023b4f716e53387cf to droid-util.c | 10:06 |
sledges | also don't forget https://github.com/mer-hybris/pulseaudio-modules-droid/blame/master/src/droid/droid-util-41qc.h#L110 | 10:07 |
*** gogeta has joined #sailfishos-porters | 10:07 | |
sledges | sad fragmentation i'm seeing now in that code | 10:07 |
sledges | jusa_: any refactory possible? | 10:08 |
sledges | mal-: check for FM_* too if your audio.h haz it | 10:08 |
sledges | and proxy | 10:08 |
mal- | sledges: all of those seem to be in system/core/include/system/audio.h | 10:10 |
sledges | full patch backport then;) | 10:10 |
mal- | I was going to do that anyway | 10:11 |
sledges | ok | 10:12 |
jusa_ | sledges: humm | 10:24 |
mal- | looks like I only have to patch the droid-util-44.h | 10:25 |
*** filippz has joined #sailfishos-porters | 10:25 | |
sledges | mal-: oh yes, you are on cm11 | 10:25 |
mal- | the qcom specific parts are only for 4.1 | 10:25 |
sledges | jusa_: but i guess that's the way that project is structurised anyway | 10:25 |
mal- | no idea why those have not been included into 4.4 | 10:26 |
sledges | mal-: they worked on nexus5 | 10:26 |
sledges | and you are pioneering your way into first non-nexus qc 4.4 chip | 10:29 |
mal- | :) | 10:29 |
mal- | there seems to be only partial qcom support in droid-util-44.h, only AUDIO_DEVICE_OUT_PROXY | 10:30 |
sledges | yes, but that's been sufficient for nexus5 | 10:31 |
mal- | there is a not very nice detection for qcom devices i.e. they are hardcoded | 10:32 |
sledges | and huge comment ;) | 10:33 |
sledges | that arm=qualcomm | 10:33 |
sledges | with exceptions | 10:33 |
jusa_ | when dhd gives arch it would help | 10:33 |
mal- | aa, I read that wrong | 10:33 |
mal- | so no problem then | 10:33 |
sledges | when dhd will give "chipset_vendor" | 10:34 |
jusa_ | sledges: that | 10:34 |
jusa_ | I don't make sense, I'm in a hurry.. | 10:34 |
sledges | no rush:) | 10:34 |
sledges | thanks for being around for community on a sunday;) | 10:34 |
gogeta | hi sledges | 10:36 |
sledges | morning | 10:36 |
gogeta | see you at fossdem ? | 10:39 |
sledges | i'll be there! | 10:39 |
sledges | glad you made it out:p | 10:39 |
klopsi-sdk | hmm breakfast maserati fetched all files 100% but then gave an error | 10:40 |
klopsi-sdk | build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/maserati/cm.mk]]: "hardware/ti/omap4xxx/security/Android.mk" does not exist. Stop. | 10:40 |
klopsi-sdk | ** Don't have a product spec for: 'cm_maserati' // ** Do you have the right repo manifest? | 10:40 |
*** piggz has quit IRC | 10:41 | |
*** piggz has joined #sailfishos-porters | 10:41 | |
mal- | klopsi-sdk: pastebin your local_manifest i.e. .repo/local_manifests/maserati.xml | 10:42 |
klopsi-sdk | file not found | 10:43 |
klopsi-sdk | only roomservice.xml exists | 10:43 |
mal- | tou have to add custom repos to that file as is said in HADK | 10:43 |
klopsi-sdk | oops missed a step | 10:44 |
mal- | usually at least one for device and one for kernel, could be more | 10:45 |
klopsi-sdk | rm'ed roomservice.xml | 10:45 |
klopsi-sdk | oh i can recreate it | 10:45 |
mal- | roomservice.xml should be removed | 10:46 |
mal- | sledges: interesting, system/core/include/system/audio.h does not define AUDIO_DEVICE_OUT_PROXY as qcom whereas droid-util-44.h defines it as such | 10:46 |
klopsi-sdk | searching HADK for "local_manifests" | 10:46 |
mal- | 14.3.1 | 10:47 |
klopsi-sdk | ok found 14.3.1 Device repos section | 10:48 |
klopsi-sdk | bbl | 10:48 |
sledges | mal-: means your version of SoC doesn't have that | 10:54 |
sledges | or it's not yet in your cm | 10:55 |
*** piggz has quit IRC | 10:56 | |
klopsi-sdk | ok based on the example in HADK i will create a manifest xml, substituting maserati for encore? | 10:58 |
sledges | klopsi-u3: http://wiki.cyanogenmod.org/w/Maserati_Info | 10:59 |
klopsi-sdk | thanks | 10:59 |
sledges | and you'll have to patch kernel | 10:59 |
*** piggz has joined #sailfishos-porters | 11:01 | |
klopsi-sdk | the kernel needs patching to interface with libhybris? | 11:03 |
sledges | to pass mer-kernel-check | 11:03 |
mal- | klopsi-sdk: you only need to patch configuration of the kernel | 11:04 |
mal- | sledges: recompiling pulseaudio-modules-droid | 11:05 |
klopsi-sdk | ok i have a modified maserati.xml http://pastebin.de/5514 | 11:08 |
klopsi-sdk | is the project path ok? and should i have hardware/ti/wlan and wpa_supplicant in there? | 11:08 |
sledges | no need for wlan/pwa | 11:10 |
sledges | wpa | 11:10 |
sledges | and clone android_kernel_motorola_omap4-common to your home repo first | 11:10 |
sledges | on github | 11:10 |
sledges | then adjust that path | 11:10 |
sledges | with your username in front | 11:10 |
sledges | s/clone/fork/ | 11:11 |
mal- | I should have done that forking also, so far all fixes are just on my computer | 11:12 |
sledges | yes, upstream upstream upstream ;) | 11:12 |
klopsi-sdk | i see HABUILD_SDK [maserati] ... /android/droid/kernel/motorola/omap4-common/ is already there. will cloning the kernel overwrite that? | 11:16 |
sledges | it will only upgrade it | 11:17 |
klopsi-sdk | s/cloning/forking | 11:17 |
klopsi-sdk | ok | 11:17 |
sledges | (after repo sync) | 11:17 |
klopsi-sdk | i havent used github before | 11:17 |
sledges | welcome to github:) | 11:18 |
klopsi-sdk | so after forking i would have something like https://github.com/klopsi/android_kernel_motorola_omap4-common | 11:18 |
sledges | yes | 11:18 |
klopsi-sdk | do you know what command I issue to do that? | 11:19 |
sledges | clock "fork" in your browser | 11:19 |
sledges | *click | 11:19 |
klopsi-sdk | registering username... | 11:20 |
klopsi-sdk | i need to create a paid account to have a "private repo"? | 11:21 |
sledges | yes, github promotes open source ;) | 11:21 |
sledges | don't worry, your repo is public and read-only to others ofc | 11:22 |
mal- | sledges: considering how much changes I had to make I'm not even sure any longer know what I have done :) | 11:23 |
*** vrutkovs has joined #sailfishos-porters | 11:23 | |
*** vrutkovs is now known as vrutkovs|home | 11:23 | |
*** filippz has quit IRC | 11:23 | |
sledges | mal-: takes time getting used to, it's a challenge!;) | 11:24 |
*** piggz has quit IRC | 11:26 | |
klopsi-sdk | ok fork created | 11:26 |
klopsi-sdk | so now i specify my remote repository with "android/droid$ git remote https://github.com/klopsi/android_kernel_motorola_omap4-common | 11:30 |
klopsi-sdk | ? | 11:30 |
sledges | yes you can do that to avoid repo syncing: git remote add fork https://github.com/klopsi/android_kernel_motorola_omap4-common | 11:31 |
klopsi-sdk | sorry if this is frustrating to watch | 11:32 |
klopsi-sdk | :/android/droid$ git remote add fork https://github.com/klopsi/android_kernel_motorola_omap4-common | 11:32 |
klopsi-sdk | fatal: Not a git repository (or any of the parent directories): .git | 11:32 |
sledges | cd kernel/motorola/omap4-common/ | 11:33 |
klopsi-sdk | ah i see there a .git file, thanks | 11:33 |
klopsi-sdk | now i see my fork with "git remove -v" | 11:34 |
klopsi-sdk | remote | 11:34 |
klopsi-sdk | now I "git checkout master"? | 11:35 |
sledges | carry on with hadk now, once you reach mb2 stage, you'll see curses in kernel config, and then it will be time to patch it | 11:35 |
klopsi-sdk | oh ok | 11:35 |
sledges | wait | 11:36 |
klopsi-sdk | ok | 11:36 |
klopsi-sdk | or.. it would be "repo sync" to sync the git repositories? | 11:38 |
sledges | nope | 11:38 |
sledges | checking the branch, why there was 10.1-staging chosen by hadk authors | 11:38 |
sledges | ah, just because there wasn't any other for encore :D | 11:39 |
sledges | we went with 10.1 for mako so (not staging), and it looks a bit newer and shouldn't be too unstable | 11:40 |
sledges | for all devices i checked | 11:41 |
sledges | so git checkout cm-10.1 is a better bet | 11:41 |
klopsi-sdk | do i run that from android/droid? | 11:42 |
sledges | nope, from where .git is | 11:42 |
klopsi-sdk | ok | 11:42 |
klopsi-sdk | i find ./android/.git | 11:43 |
* sledges sighs | 11:43 | |
sledges | 13:32 < klopsi-sdk> fatal: Not a git repository (or any of the parent directories): .git | 11:43 |
sledges | 13:33 < sledges> cd kernel/motorola/omap4-common/ | 11:43 |
sledges | 13:33 < klopsi-sdk> ah i see there a .git file, thanks | 11:43 |
klopsi-sdk | ok | 11:43 |
sledges | repo is a beast | 11:44 |
sledges | having said that, don't run repo sync now at all costs :D | 11:44 |
klopsi-sdk | Switched to a new branch 'cm-10.1' | 11:44 |
klopsi-sdk | heh that would redownload 10GB? | 11:44 |
sledges | especially after you patch something and not push upstream yet | 11:44 |
sledges | o, it will overwrite your work | 11:44 |
klopsi-sdk | ok | 11:45 |
sledges | (possible to restore though instantly, but no need for that hassle now) | 11:45 |
sledges | and learning "repo project" would be just too much too :D | 11:45 |
klopsi-sdk | ok so i have a omap4-common, and a fork on github | 11:48 |
klopsi-sdk | can i make -j4 hybris-hal ? | 11:49 |
sledges | did you do 14.3.2 ? | 11:50 |
klopsi-sdk | ah not yet | 11:50 |
klopsi-sdk | in Android.mk i see $(warning ********************* /boot appears to live on $(HYBRIS_BOOT_PART) | 11:53 |
klopsi-sdk | ok so i need to add an entry for maserati in fixup-mountpoints? | 11:55 |
mal- | yes | 11:58 |
locusf | sledges: I haven't been able to discern it yet | 11:58 |
klopsi-sdk | i dont know how to do that mal :( | 12:01 |
klopsi-sdk | looking through Android.mk to see if it tells me where to put /boot and /data | 12:01 |
mal- | you need the check in the actual device what are the correct mountpoints | 12:02 |
mal- | 14.3.2 tells where to look for those | 12:03 |
klopsi-sdk | ah look in the recovery fstab | 12:03 |
klopsi-sdk | hmm recovery.log shows some interesting stuff | 12:08 |
klopsi-sdk | /dev/block/loop-userdata /data ext3 rw | 12:08 |
klopsi-sdk | /dev/block/loop-system /system ext3 rw | 12:09 |
klopsi-sdk | /dev/block/mmcblk1p23 /osh ext3 rw | 12:09 |
klopsi-sdk | /dev/block/mmcblk1p20-orig /systemorig auto rw | 12:10 |
klopsi-sdk | /dev/block/mmcblk1p25 /ss vfat rw | 12:10 |
sledges | klopsi-sdk: you need to boot into recovery and check with adb shell | 12:12 |
klopsi-sdk | ok | 12:13 |
klopsi-sdk | in /etc i see fstab and recovery.fstab. which should i inspect? | 12:15 |
sledges | /dev/block/ | 12:16 |
klopsi-sdk | ok fstab contains 8 /dev/block mountpoints | 12:18 |
klopsi-sdk | 3 are loop | 12:19 |
klopsi-sdk | 5 are /dev/block/mmc... | 12:19 |
sledges | klopsi-sdk: | 12:19 |
sledges | ls -l /dev/block/mmcblk* | 12:19 |
*** vrutkovs|home has quit IRC | 12:19 | |
klopsi-sdk | there are 26 entries | 12:21 |
sledges | klopsi-sdk: good, reboot into cm and do the same | 12:21 |
sledges | fixup-mountpoints creates a map between partition name and devnode number | 12:22 |
mal- | sledges: my patch to droid-util-44.h did not work, it won't compile, have to debug later today | 12:22 |
sledges | in addition, some phones (like galaxy s3) don't even have mmc devnodes under /dev/block/ , they put it under /dev/ instead | 12:22 |
klopsi-sdk | ok, I see for example mmcblk1p20 -> /dev/block/loop-system | 12:23 |
klopsi-sdk | rebooting into cm | 12:23 |
sledges | mal-: ok | 12:23 |
mal- | it complains about non-defined stuff | 12:23 |
mal- | the newly added parts | 12:23 |
sledges | it takes values from audio.h | 12:23 |
sledges | that of cm | 12:23 |
klopsi-sdk | phone does not respond to power button press, and there is no reboot command in ADB shell | 12:24 |
mal- | but which audio.h, there is one in system and one inhardware | 12:24 |
sledges | klopsi-sdk: hold power+voldown | 12:24 |
sledges | mal-: the one i pasted today earlier, system iirc | 12:25 |
sledges | extract-headers.sh might interest you ;) | 12:25 |
sledges | it's part of libhybris magic | 12:25 |
mal- | droid-util includes hardware/audio.h | 12:25 |
mal- | it seems | 12:25 |
sledges | 11:59 < sledges> mal-: means that file is from system/core/include/system/ | 12:26 |
mal- | yes, that has those defined | 12:26 |
sledges | and hardware/libhardware/include/hardware doesn't ? | 12:28 |
mal- | it does not | 12:28 |
sledges | so do only those which are in hardware/libhardware/include/hardware | 12:28 |
mal- | it doesn't contain any of those | 12:29 |
alin | sledges: ok... so there is nothing we can do at the moment | 12:29 |
sledges | alin: i'll ask giucam | 12:29 |
alin | sledges: perfect | 12:29 |
alin | sledges: do you know anything new happening with the camera/gps? | 12:30 |
mal- | sledges: i'll need to look more into where things come from | 12:30 |
sledges | mal-: inspect hardware_legacy too | 12:30 |
klopsi-sdk | /dev/block has system->/dev/block/loop-system and systemorig->/dev/block/mmcblk1p20 and userdata->/dev/block/loop-userdata and userdataorig->/dev/block/mmcblk1p24 | 12:30 |
mal- | sledges: I'll grep the whole source tree for those and see what comes ou | 12:31 |
sledges | klopsi-sdk: ls -l /dev/block/platform/ | 12:31 |
sledges | mal-: let's backtrack - why did you get that entry in config on the first place? | 12:31 |
mal- | because pulseaudio couldnot parse /system/etc/audio_policy.conf | 12:33 |
mal- | I need to take a break now, I can't think anymore | 12:34 |
sledges | #include <system/audio.h> | 12:34 |
sledges | from hardware/libhardware/include/hardware/audio.h | 12:34 |
*** edubai has quit IRC | 12:34 | |
sledges | alin: for gps ping Stskeeps on geoclue | 12:35 |
sledges | i have no clue &) | 12:35 |
Stskeeps | does test_gps work | 12:35 |
sledges | yes, on most devices | 12:35 |
klopsi-sdk | /dev/block/platform contains "omap" and omap contains omap_hsmmc.0 and omap_hsmmc.1 | 12:35 |
alin | Stskeeps: iirc was something about releaasing some jolla componnent | 12:35 |
sledges | alin: for camera, gather a team of testers for gst1.0 work | 12:36 |
mal- | sledges: so it seems, but why are those defines not seen | 12:36 |
sledges | is that audio.h pulled in within droid-headers? | 12:36 |
klopsi-sdk | afk coooking | 12:36 |
sledges | klopsi-sdk: and inside those two? | 12:36 |
alin | sledges: testers are not enough... we can put gst1.0 in a repo... the idea is feedback mush not end up in the mythical bit bucket | 12:37 |
mal- | sledges: looks like it: extract_headers_to system \ system/core/include/system | 12:37 |
sledges | alin: first video playback via gst10 should work | 12:37 |
sledges | then a glue will be needed for camera | 12:37 |
alin | sledges: i suspect all we need is here | 12:38 |
alin | sledges: just built for the latest | 12:38 |
alin | the problem is that looks pretty stalled | 12:39 |
sledges | developer is on vacation | 12:39 |
sledges | a well deserved one :p | 12:39 |
*** Tassadar has joined #sailfishos-porters | 12:40 | |
sledges | if you ever dealt with hw-tailored gstreamer and hw accelerations, you shuld know ;) add android ot the picture :D | 12:40 |
mal- | could be that the QCOM_HARDWARE define might be missing | 12:41 |
sledges | it picks all arm devices | 12:42 |
mal- | but if it failsfor some reason | 12:42 |
alin | sledges: thought was the opposite... once you get at hw level you can never take vacation... | 12:42 |
sledges | can't remember when MSameer had vacation before this one :p | 12:42 |
mal- | don't know how or why, but that looks like the only reason | 12:42 |
alin | sledges: i deleted vacation from my vocabulary... in reality is working from outside office | 12:43 |
alin | sledges: that is not the point... the point is for testing we need to bring that in a mainstream repo | 12:44 |
sledges | mal-: how come it works for 41qc folk... what are the differences with 44 (in #defines) | 12:44 |
alin | sledges: and of course more important liase with the developer... | 12:44 |
mal- | sledges: in 41qc only DROID_DEVICE_SBJ has QCOM_HARDWARE | 12:45 |
MSameer | alin: sledges hello. what's up? ;-) | 12:45 |
sledges | alin: isn't gstreamer-1.0 already sideloaded since update10 ? | 12:45 |
sledges | MSameer: speaking the devil:D | 12:46 |
alin | sledges: MSameer gstreamer not you | 12:46 |
MSameer | hehe :) | 12:46 |
MSameer | what's the issue? | 12:47 |
alin | sledges: I do not know... lemme check it | 12:47 |
sledges | alin wantz cameraz | 12:47 |
sledges | :D | 12:47 |
MSameer | we all want | 12:47 |
alin | sledges: i think map is more important and simpler...but since I understand involves pm dealing | 12:47 |
alin | sledges: probably fixing a taough technological problem is a bagatelle | 12:48 |
MSameer | ok so the whole code which is public is a big hack that needs cleanup | 12:49 |
MSameer | and it does not fully work yet | 12:49 |
alin | MSameer: not fully working is miles above not working | 12:50 |
MSameer | i mostly develop on jolla phone | 12:50 |
alin | sledges: gstreamer is there... some things are missing | 12:51 |
MSameer | the library that glues gst and android should be ported to various android versions | 12:51 |
sledges | exactly like pulseaudio-modules-droid we just talked about :)) | 12:52 |
alin | nemo-gstreamer0.10-interfaces libgstreamer0.10-gralloc gstreamer0.10-omx gstreamer0.10-droideglsink gstreamer0.10-droidcamsrc | 12:52 |
alin | gstreamer0.10-colorconv | 12:52 |
sledges | that's 010 | 12:52 |
alin | yap so we need 1.0 of all these... iirc | 12:52 |
MSameer | give me an hour and i will be more free to explain | 12:55 |
alin | MSameer: ok... maybe I will get something to eat in between | 12:57 |
sledges | MSameer: sure, i believe there will be many volunteers wanting to have cameras, so all needs to be done is for that "glue" package to offer ability to write nice android-version-dependent units (i won't be here in an hour, so just braindumping) | 12:57 |
alin | sledges: was not the complicated bit to get the things build against gstreamer1.0 | 12:57 |
alin | sledges: qt bits | 12:57 |
sledges | alin: why u ask me? ;) | 12:57 |
alin | sledges: because I think this was one of the issues at the time | 12:58 |
MSameer | 5.4 has gstreamer 1.x support | 12:59 |
MSameer | qtmultimedia | 13:00 |
mal- | sledges: now I see what is the difference, 41qc does not define those parts as qcom, they are always there | 13:00 |
mal- | that's why it works, so I'll just remove the qcom conditions | 13:01 |
sledges | mal-: but qcom conditions are in effect for 44 | 13:01 |
alin | MSameer: yap I know... but the jolla pushed 5.2 | 13:02 |
MSameer | that means nothing :) | 13:03 |
*** M4rtinK has joined #sailfishos-porters | 13:03 | |
MSameer | we can push qt 5.4 or backport qtmultimedia 5.4 or just push qtmultimedia 5.4 | 13:04 |
MSameer | I don't know yet what will happen there but we can do something | 13:04 |
MSameer | or we have to do something :) | 13:05 |
Stskeeps | MSameer: welcome back | 13:05 |
MSameer | Stskeeps: thank you | 13:06 |
alin | Stskeeps: now I remember you pused some gst01 stuff like omx conv... do they have 1.0 equivalents? | 13:12 |
alin | MSameer: you need to port webkits too to 1.0 or to build it against 1.0 | 13:13 |
alin | otherwise they will conflict.. | 13:13 |
alin | sledges: https://build.merproject.org/project/monitor/home:alin:extra | 13:24 |
alin | any comments on the unresolvable? I mean which one I shall prefer | 13:24 |
alin | ok all build | 13:32 |
alin | not all... seems https://build.merproject.org/project/monitor/home:alin:extra | 13:35 |
alin | zic failure... preety strange... | 13:35 |
mal- | sledges: yes, but the conditions do not seem to be working on my system | 13:43 |
*** blueslee has joined #sailfishos-porters | 13:44 | |
sledges | alin: gst-av is non-redist | 13:46 |
sledges | and at anyrate, i haven't worked on gstreamer since ti times | 13:47 |
alin | sledges: the issue is not gstreamer related | 13:47 |
alin | something funny with failing zic | 13:47 |
sledges | well, or gst-av ;) | 13:47 |
sledges | gtg now, o\ | 13:49 |
sledges | o/ | 13:49 |
*** phdeswer has quit IRC | 13:52 | |
blueslee | alin, sledges: if you need a N5 tester just drop some lines here, i am reading the logs.. much more activity today than before | 13:54 |
blueslee | alin: did you played with bluetooth already, pairing works but not more | 13:56 |
*** Lipevakala_ has joined #sailfishos-porters | 13:57 | |
*** alin has quit IRC | 13:59 | |
*** zanac has joined #sailfishos-porters | 14:00 | |
*** filippz has joined #sailfishos-porters | 14:06 | |
*** filippz has quit IRC | 14:10 | |
*** alin has joined #sailfishos-porters | 14:16 | |
*** alin has joined #sailfishos-porters | 14:16 | |
sledges | blueslee: filetransfer worked for me too (when pairing worked) - note, pairing and seeing other device is not thesame | 14:24 |
sledges | and sometimes the formed doesn't work, retry retry reboot retry | 14:25 |
sledges | speak in the evening | 14:27 |
*** Lipevakala has joined #sailfishos-porters | 14:32 | |
*** Lipevakala_ has quit IRC | 14:34 | |
*** Lipevakala has quit IRC | 14:37 | |
*** Lipevakala has joined #sailfishos-porters | 14:37 | |
mal- | sledges: I made some checks, the define is ok, but when it includes hardware/audio.h and from there system/audio.h it does not use the define | 14:38 |
mal- | this does not make any sense | 14:39 |
*** Lipevakala has quit IRC | 14:56 | |
*** Lipevakala has joined #sailfishos-porters | 14:56 | |
*** faenil has joined #sailfishos-porters | 15:04 | |
*** blueslee has quit IRC | 15:10 | |
*** vrutkovs has joined #sailfishos-porters | 15:16 | |
*** vrutkovs is now known as vrutkovs|home | 15:16 | |
*** zanac has left #sailfishos-porters | 15:17 | |
*** gogeta has quit IRC | 15:25 | |
*** vrutkovs|home has quit IRC | 15:38 | |
locusf | ok got further again with complete init on p3110 | 15:42 |
locusf | Composer HAL failed to load compatible Graphics HAL | 15:43 |
MSameer | alin: ping | 15:43 |
locusf | this is in logcat | 15:43 |
locusf | and still EINVAL | 15:43 |
alin | MSameer: pong | 15:43 |
MSameer | alin: so what do you want to know ? :) | 15:43 |
alin | MSameer: first I need to build it | 15:44 |
alin | MSameer: against the latest | 15:44 |
MSameer | alin: build what? | 15:44 |
*** r0kk3rz has quit IRC | 15:44 | |
locusf | http://pastie.org/9838418 | 15:45 |
alin | MSameer: your harcour camera | 15:45 |
alin | MSameer: https://build.merproject.org/project/monitor/home:alin:extra | 15:45 |
alin | MSameer: then we notice will not work... | 15:45 |
alin | MSameer: and add the missing things | 15:45 |
MSameer | gstreamer 0.x will not work on your kitkat adaptation AFAICT | 15:45 |
*** BluesLee has joined #sailfishos-porters | 15:47 | |
locusf | seems that I was looking at the wrong EINVAL | 15:49 |
MSameer | alin: your best bet is to wait (or help) the 1.x migration which should be way easier | 15:52 |
alin | MSameer: i suspect the 1.x migration is some internal movement | 15:54 |
MSameer | alin: not true. the code is available :) | 15:55 |
MSameer | alin: it just is not working yet. kind of prototyping phase | 15:55 |
alin | MSameer: ok...let us see | 15:56 |
MSameer | alin: there is a library being built on top of camera service and media service (similar to ubuntu but thinner). on top of that gstreamer bits sit | 15:56 |
MSameer | alin: so you port the library to kitkat and it works. you port it to android 5 and it should work and so on | 15:57 |
MSameer | alin: but we are just not there yet | 15:58 |
alin | MSameer: ok... but first one needs gstreamer and firends in and built | 15:59 |
alin | MSameer: i see some are in but not all | 15:59 |
MSameer | alin: what are you looking for? | 15:59 |
alin | MSameer: gst-libav for eg | 16:00 |
MSameer | alin: for 0.10 or 1.0 ? | 16:00 |
alin | MSameer: first step I wanted to build all the things from your gstreamer repo 1.0 | 16:01 |
MSameer | alin: ignore my repo for now. it's a private one and not for jolla | 16:01 |
MSameer | alin: gst-libav has not been packaged for sailfish yet | 16:01 |
MSameer | that is why it is missing ;) | 16:01 |
alin | MSameer: ok... so let us see what the migration to 1.x implied | 16:03 |
alin | s | 16:03 |
alin | MSameer: I suspect is some glue | 16:03 |
MSameer | alin: I don't get you | 16:03 |
alin | MSameer: ok... so there is gstreamer 1.0 as far as I know | 16:04 |
alin | MSameer: your camera up exists... but needs gstreamer 1.x | 16:05 |
alin | and for that to work we need some glue in between... at least this is what i understand | 16:05 |
MSameer | alin: my camera can work with 0.10 and 1.x (compile time setting) | 16:05 |
MSameer | alin: you need gstreamer 1.x or 0.10 for it to work and both do not exist :/ | 16:07 |
alin | MSameer: which bit does not exist? | 16:09 |
alin | MSameer: I see both gstreamer 1.0 and 0.1 on my phone | 16:09 |
MSameer | alin: gstreamer 1.x does not exist for sailfish yet. gstreamer 0.10 needs to be ported to each platform | 16:09 |
alin | MSameer: http://goo.gl/u5suHr | 16:12 |
alin | MSameer: I think we speak about different bits that do not exist | 16:12 |
MSameer | perhaps yes | 16:13 |
*** vrutkovs has joined #sailfishos-porters | 16:18 | |
*** vrutkovs is now known as vrutkovs|home | 16:19 | |
BluesLee | i think basic camera functionality is a big driver for people considering other devices with sfos as a daily phone | 16:20 |
BluesLee | nevertheless there are a handful of issues or missing functionalities | 16:21 |
klopsi-sdk | would Cyanogenmod 10 and 11 have the same mountpoints for /boot and /data? | 16:25 |
*** phdeswer has joined #sailfishos-porters | 16:27 | |
mal- | sledges: I think I figured out the problem with the includes, module-droid-card.c includes the hardware/audio.h and system/audio.h already before droid-util.h and at that time QCOM_HARDWARE is not defined yet, then when it includes droid-util.h it defines QCOM_HARDWARE but won't reinclude already included headers and therefore fails | 16:27 |
mal- | reorganizing the includes in module-droid-card.c might solve the problem | 16:28 |
mal- | sledges: that indeed solved the problem | 16:32 |
klopsi-sdk | nice work | 16:33 |
mal- | klopsi-sdk: that would be my guess | 16:34 |
mal- | about the mountpoints | 16:34 |
klopsi-sdk | do you have a ssh server installed on your droid device? | 16:35 |
klopsi-sdk | wondering whether i need to buy one to continue this porting thing | 16:35 |
mal- | why? | 16:35 |
klopsi-sdk | so i can paste what is under /dev/block/platform | 16:36 |
klopsi-sdk | i am trying to complete section 14.3.2 Configure mountpoint information | 16:36 |
mal- | isn't adb connection enough? | 16:37 |
klopsi-sdk | adb can connect to a PC? | 16:37 |
mal- | I don't undersatnd what you are trying to do | 16:38 |
klopsi-sdk | trying to provide sledges with information on the mountpoints existing on the device | 16:38 |
klopsi-sdk | so he can tell me how to modify fixup-mountpoints | 16:39 |
mal- | if you connect to the phone with adb shell, it would be quite trivial to copy the result of commands you run | 16:39 |
klopsi-sdk | ok i will google how to do t hat | 16:40 |
mal- | where do you run the commands at the moment? | 16:40 |
klopsi-sdk | from a terminal app in regular android cm11 | 16:40 |
mal- | don't do that | 16:41 |
klopsi-sdk | there is also a shell on the phone from the "recovery mode" before it boots | 16:41 |
mal- | 14.3.2 tells "To double check, you can boot to CM and adb shell to examine /dev/block* and /dev/mmc*" | 16:41 |
mal- | so you run adb on your computer to connect to the phone through usb | 16:42 |
klopsi-sdk | ok i never did that before | 16:42 |
mal- | do you have adb on your computer? | 16:42 |
klopsi-sdk | no | 16:42 |
mal- | what distro are you using? | 16:43 |
klopsi-sdk | xubuntu | 16:43 |
klopsi-sdk | apt-get search adb |grep adb didnt show me an "adb" package | 16:43 |
mal- | it is included in some other package | 16:44 |
klopsi-sdk | ah i see android-tools-dab | 16:44 |
klopsi-sdk | adb | 16:44 |
mal- | yes | 16:44 |
mal- | I think it is also included in MerSDK | 16:45 |
mal- | maybe | 16:45 |
*** BluesLee has quit IRC | 16:47 | |
klopsi-sdk | did you need to create udev rules for ubuntu to correctly identify the device when it is plugged into the USB port? | 16:47 |
mal- | no | 16:48 |
klopsi-sdk | ok the adb usage guides i have seen say to do that | 16:48 |
klopsi-sdk | what do you run to get an adb shell? | 16:48 |
klopsi-sdk | ok booted my phone into recovery mode | 16:49 |
mal- | you just run "adb shell" | 16:50 |
mal- | on your computer | 16:50 |
klopsi-sdk | what must be done on the phone? | 16:50 |
klopsi-sdk | i see an "adb sideload" button under "advanced" | 16:51 |
klopsi-sdk | adb devices | 16:53 |
klopsi-sdk | List of devices attached | 16:53 |
klopsi-sdk | ????????????no permissions | 16:53 |
klopsi-sdk | adb shell | 16:53 |
klopsi-sdk | error: insufficient permissions for device | 16:53 |
mal- | hmm, odd, in recovery it should work | 16:54 |
klopsi-sdk | phone shows up with lsusb | 16:54 |
klopsi-sdk | same permission error running as root | 16:54 |
klopsi-sdk | adb version | 16:55 |
klopsi-sdk | Android Debug Bridge version 1.0.31 | 16:55 |
klopsi-sdk | googling... | 16:56 |
mal- | try adb root | 16:57 |
klopsi-sdk | ok i needed to run adb start-server as root | 16:58 |
klopsi-sdk | now it works yaay | 16:58 |
*** r0kk3rz has joined #sailfishos-porters | 17:02 | |
klopsi-sdk | now according to the Adaptation Guide, i need to map the /boot and /data partitions | 17:03 |
klopsi-sdk | BUT.. the exsting $DEVICEs in fixup-mountpoints have many more partitions, and are not named /boot and /data | 17:04 |
mal- | I didn't even have /boot :) | 17:05 |
klopsi-sdk | how did you figure-out what to add to fixup-mountpoints? | 17:06 |
mal- | I had the easy situation "If you’re lucky the device will simply use /dev/block/<somedev> and you can use the i9305 approach" | 17:08 |
klopsi-sdk | here is my /dev/block.. does it look like the easy situation? http://pastebin.de/5530 | 17:09 |
mal- | so pastebin your fstab from the cm | 17:09 |
klopsi-sdk | ok | 17:09 |
klopsi-sdk | http://pastebin.de/5531 | 17:09 |
mal- | I would say that looks similar, however I don't know why there is that loop-system thing | 17:11 |
klopsi-sdk | mhm | 17:14 |
klopsi-sdk | in /dev/block userdata points to > /dev/block/mmcblk1p24 | 17:14 |
Stskeeps | p1? | 17:16 |
klopsi-sdk | what? | 17:17 |
Stskeeps | just pondering why mmcblk1, usually it's blk0 | 17:17 |
klopsi-sdk | looks like /dev/block/mmcblk0p1 /sdcard-ext vfat rw | 17:18 |
klopsi-sdk | is the ext SD card | 17:18 |
*** vakkov has quit IRC | 17:26 | |
*** furikku has quit IRC | 17:28 | |
*** vakkov has joined #sailfishos-porters | 17:41 | |
*** Nokius_ has joined #sailfishos-porters | 17:46 | |
*** phdeswer has quit IRC | 17:46 | |
*** vakkov has quit IRC | 17:46 | |
*** Nokius has quit IRC | 17:50 | |
mal- | sledges: pulseaudio seems to hang, pactl for example just timeouts, logs don't give any help | 17:51 |
alin | mal-: had similar when I was using the wrong cm | 17:55 |
alin | mal-: which cm version do you use? | 17:55 |
mal- | cm11 | 17:56 |
mal- | which is not a official version | 17:57 |
mal- | log shows that pulseaudio starts ok, it just won't respond | 17:57 |
*** vakkov has joined #sailfishos-porters | 18:00 | |
*** beidl_ has joined #sailfishos-porters | 18:16 | |
mal- | don't know if can find any image that corresponds to the official one | 18:16 |
*** beidl has quit IRC | 18:19 | |
*** piggz has joined #sailfishos-porters | 18:55 | |
*** piggz has quit IRC | 19:12 | |
*** piggz has joined #sailfishos-porters | 19:17 | |
alin | mal-: strange it had the behaviour you say when pa was not starting | 19:26 |
alin | mal-: that was because I have a too new cm11 | 19:26 |
alin | mal-: for n5 seems after cm11 m9 things were not so cool | 19:27 |
mal- | I had to fix the pulseaudio-modules-droid so that it supports my system | 19:41 |
mal- | maybe similar solution could work for newer cm11 for n5 | 19:42 |
mal- | alin: did n5 give some errors when starting pulseaudio? | 19:43 |
klopsi-sdk | didnt sledges want to stop by tonight? | 19:43 |
mal- | klopsi-sdk: which part are you doing now? | 19:47 |
klopsi-sdk | configuring fixup-mountpoints | 19:47 |
klopsi-sdk | i bought a second droid 4 so I can install cm10 | 19:48 |
klopsi-sdk | didnt want to ruin my working droid 4 phone | 19:48 |
klopsi-sdk | maybe the i9305 settings would work but i dont want to guess | 19:50 |
mal- | I would just add your device next to i9305 | 19:50 |
alin | mal-: yes something about failing to parse | 19:52 |
*** phdeswer has joined #sailfishos-porters | 19:52 | |
klopsi-sdk | ok 14.3.3 Additional packages: "devices based on the U-Boot bootloader require the mkimage utility" | 19:53 |
klopsi-sdk | hmm droid 4 has mbmloader.bin and mbm.bin | 19:55 |
mal- | alin: then it could be the same problem | 19:56 |
*** alin has quit IRC | 19:57 | |
klopsi-sdk | someone writes "if you delete your mbmloader you need to push uboot back to your device" | 19:57 |
klopsi-sdk | ok lets skip that for the moment | 19:59 |
klopsi-sdk | do i run "mka hybris-hal" from ~/android/droid? | 20:00 |
mal- | yes | 20:01 |
mal- | in mersdk | 20:01 |
klopsi-sdk | /android/droid$ mka hybris-halbuild/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/maserati/cm.mk]]: "hardware/ti/omap4xxx/security/Android.mk" does not exist. Stop. | 20:01 |
mal- | I mean HABUILD_SDK | 20:01 |
klopsi-sdk | yep i was in HABUILD_SDK | 20:01 |
klopsi-sdk | i had some internet troubles while downloading | 20:02 |
klopsi-sdk | i have no hardware/ti directory | 20:03 |
mal- | you need to add that to local_repositories | 20:03 |
mal- | this one CyanogenMod/android_hardware_ti_omap4xxx | 20:04 |
klopsi-sdk | i can not find a file local_repositories in android/droid | 20:05 |
mal- | the file you previously modified in .repo | 20:05 |
mal- | it is actually .repo/local_manifests/maserati.xml | 20:06 |
klopsi-sdk | ah that one | 20:07 |
klopsi-sdk | adding <project path="device/maserati" name="CyanogenMod/android_hardware_ti_omap4xxx" revision="cm-10.1" /> | 20:08 |
mal- | no, you need to chnage the path | 20:08 |
mal- | all of those need to have correct paths | 20:08 |
mal- | my guess is hardware/ti/omap4xxx | 20:09 |
klopsi-sdk | even if there is no hardware/ti directory? | 20:09 |
*** phdeswer_ has joined #sailfishos-porters | 20:10 | |
klopsi-sdk | i see for e.g. hardware/samsung | 20:10 |
mal- | it will create needed paths | 20:10 |
klopsi-sdk | ok | 20:10 |
mal- | could you pastebin that xml file | 20:10 |
klopsi-sdk | sure! | 20:11 |
mal- | just to check that the other paths are ok | 20:11 |
klopsi-sdk | http://pastebin.de/5547 | 20:11 |
klopsi-sdk | so i change the path in line 4 | 20:12 |
mal- | I'll fix all of those and paste a new one | 20:13 |
klopsi-sdk | to hardware/ti/omap4xxx/security ? | 20:13 |
klopsi-sdk | ok thanks | 20:13 |
mal- | no need for the security part, others are also wrong | 20:14 |
mal- | http://pastebin.de/5548 | 20:16 |
mal- | maybe even remove the -staging from kernel | 20:17 |
mal- | not sure if that is good thing or not | 20:17 |
klopsi-sdk | mka hybris-halbuild/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/maserati/cm.mk]]: "hardware/ti/omap4xxx/security/Android.mk" does not exist. Stop. | 20:18 |
mal- | you need to do repo sync | 20:18 |
klopsi-sdk | i thought sledges warned me not to do that? | 20:19 |
klopsi-sdk | cause changes would get lost? | 20:19 |
klopsi-sdk | maybe it is needed now since files are missing | 20:19 |
mal- | but you haven't made changes yet? | 20:19 |
klopsi-sdk | not to any source files, just the xml | 20:20 |
mal- | at this stage it is needed, later on you should avoid it | 20:20 |
klopsi-sdk | i see, ok | 20:20 |
mal- | the xml won't go away | 20:20 |
mal- | did you remove the -staging? | 20:20 |
klopsi-sdk | no | 20:20 |
klopsi-sdk | will so now | 20:20 |
klopsi-sdk | synching | 20:23 |
klopsi-sdk | fatal: remote error: Repository not found. | 20:23 |
mal- | which one? | 20:24 |
klopsi-sdk | error: Cannot fetch lbt/android_kernel_motorola_omap4-common | 20:24 |
klopsi-sdk | error: Cannot fetch CyanogenMod/android_device_maserati | 20:24 |
mal- | I'll check those | 20:24 |
mal- | replace lbt with CyanogenMod | 20:25 |
lbt | ???? | 20:25 |
mal- | and the other should be CyanogenMod/android_device_motorola_maserati | 20:25 |
mal- | lbt: sorry :) | 20:25 |
lbt | *grin* | 20:26 |
mal- | it seems my previous check was not very good | 20:26 |
klopsi-sdk | sync done! | 20:26 |
klopsi-sdk | mka hybris-hal | 20:27 |
klopsi-sdk | build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/maserati/cm.mk]]: "device/motorola/omap4-common/common.mk" does not exist. Stop | 20:27 |
mal- | add this <project path="device/motorola/omap4-common" name="android_device_motorola_omap4-common" revision="cm-10.1" /> before the android_device_motorola_maserati line | 20:28 |
klopsi-sdk | ok | 20:29 |
*** vakkov has quit IRC | 20:30 | |
mal- | and repo sync again | 20:30 |
mal- | oops, that was wrong should be <project path="device/motorola/omap4-common" name="CyanogenMod/android_device_motorola_omap4-common" revision="cm-10.1" /> | 20:30 |
klopsi-sdk | ah i begin to see the pattern, editing | 20:31 |
klopsi-sdk | sync complete | 20:32 |
klopsi-sdk | afk girlfriend issues | 20:35 |
*** phdeswer has quit IRC | 20:37 | |
klopsi-sdk | ok another one build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/maserati/cm.mk]]: "vendor/motorola/maserati/maserati-vendor.mk" does not exist. Stop. | 20:42 |
klopsi-sdk | wiill try to fix that | 20:43 |
klopsi-sdk | nope, i have no ideas | 20:45 |
mal- | just a moment | 20:46 |
klopsi-sdk | device/motorola/maserati exists | 20:46 |
klopsi-sdk | but no file maserati-vendor.mk | 20:47 |
*** alin has joined #sailfishos-porters | 20:47 | |
*** alin has joined #sailfishos-porters | 20:47 | |
mal- | try to rerun breakfast maserati | 20:47 |
klopsi-sdk | ok it is saying Device maserati not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod). | 20:48 |
klopsi-sdk | yep it is finding something | 20:48 |
klopsi-sdk | ohh | 20:49 |
mal- | this could help <project path="vendor/motorola/maserati" name="STS-Dev-Team/android_vendor_motorola_maserati" revision="master" /> | 20:49 |
klopsi-sdk | fatal: duplicate path device/motorola/maserati in /android/droid/.repo/manifest.xml | 20:49 |
klopsi-sdk | Done | 20:49 |
klopsi-sdk | build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/maserati/cm.mk]]: "vendor/motorola/maserati/maserati-vendor.mk" does not exist. Stop. | 20:49 |
mal- | do you have the roomservice.xml there? | 20:50 |
klopsi-sdk | yes | 20:50 |
mal- | remove it | 20:50 |
klopsi-sdk | ok | 20:51 |
klopsi-sdk | then add the SDS-Dev_team line to manifest.xml? | 20:51 |
mal- | yes | 20:51 |
klopsi-sdk | does it matter where to insert it? | 20:51 |
mal- | should not | 20:52 |
klopsi-sdk | beginning, end | 20:52 |
klopsi-sdk | ok syncing | 20:52 |
mal- | check that you don't have two device lines with device/motorola/maserati, don't know why you got that duplicate path error | 20:53 |
mal- | have you addes anything to .repo/manifest.xml | 20:53 |
klopsi-sdk | i will repaste manifest.xml once sync is done | 20:54 |
mal- | did you make modification to that or to .repo/local_menifests/*.xml? | 20:55 |
klopsi-sdk | repo local_manifests/maserati.xml | 20:55 |
klopsi-sdk | uups have a duplicate line in there | 20:56 |
mal- | I think it should be ok after that, hopefully | 20:57 |
klopsi-sdk | syncing | 20:59 |
mal- | aa, one thing that could be overwritten by repo sync is the fixup-mountpoints | 21:00 |
mal- | you should check that after sync and before building | 21:01 |
klopsi-sdk | ah will check that. repo sync finished without complaints | 21:01 |
klopsi-sdk | nope changes are still there | 21:02 |
mal- | good | 21:02 |
mal- | when building check if the mountpoints are reported correctly | 21:03 |
klopsi-sdk | lastlog common-vendor | 21:03 |
klopsi-sdk | oops | 21:04 |
klopsi-sdk | now it complains | 21:04 |
klopsi-sdk | mka hybris-halbuild/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/maserati/cm.mk]]: "vendor/motorola/omap4-common/common-vendor.mk" does not exist. Stop. | 21:04 |
klopsi-sdk | i see vendor/motorola/maserati | 21:04 |
klopsi-sdk | and repo sync didnt complain about our STS-Dev-Team addition | 21:06 |
klopsi-sdk | confused again | 21:06 |
klopsi-sdk | for reference there is the maserati.xml http://pastebin.de/5554 | 21:08 |
*** zetaz has joined #sailfishos-porters | 21:10 | |
mal- | where did you put the kernel? | 21:10 |
*** Nekron_ has joined #sailfishos-porters | 21:10 | |
sledges | alin: blueslee: launch app from cmdline with WAYLAND_DEBUG=1 and lookfor gremlins | 21:11 |
sledges | from giucm with love :D | 21:11 |
sledges | *giucam | 21:11 |
sledges | i'll be back in 20mins | 21:11 |
klopsi-sdk | i dont have a "motorola" in android/droid/kernel yet | 21:11 |
mal- | klopsi-sdk: <project path="kernel/motorola/omap4-common" name="CyanogenMod/android_kernel_motorola_omap4-common" revision="cm-10.1" /> | 21:11 |
giucam | yeah, and ask for anything. i'll be sleeping soon but i'll answer sooner or later ;) | 21:12 |
klopsi-sdk | ok ty! | 21:12 |
mal- | but still that vendor stuff is missing | 21:12 |
mal- | klopsi-sdk: follow this http://wiki.cyanogenmod.org/w/Build_for_maserati , the part Extract proprietary blobs | 21:13 |
klopsi-sdk | now I have a kernel/motorola thnks | 21:14 |
klopsi-sdk | ok | 21:14 |
klopsi-sdk | will do | 21:14 |
mal- | that should get the missing vendor files | 21:15 |
mal- | but before that do the repo sync | 21:15 |
mal- | maybe comment out the other vendor line from maserati.xml | 21:16 |
mal- | before that | 21:16 |
klopsi-sdk | ok | 21:17 |
klopsi-sdk | what is the comment character for an xml file? | 21:18 |
klopsi-sdk | #? | 21:18 |
klopsi-sdk | nvm found docs on that | 21:18 |
mal- | same as in html <!-- comment --> | 21:18 |
klopsi-sdk | ok | 21:19 |
*** DaZ has quit IRC | 21:19 | |
klopsi-sdk | "ensure that your Droid 4 is connected to your computer via the USB cable" | 21:21 |
klopsi-sdk | it is connected but extract-files.sh errors with errors like "remote object '/system/etc/smc_pa_pk_4_8Mb_ipa.bin' does not exist | 21:22 |
klopsi-sdk | i am still in adb shell | 21:23 |
klopsi-sdk | in recovery mode | 21:23 |
*** vakkov has joined #sailfishos-porters | 21:25 | |
klopsi-sdk | running a find / -name smc_pa* in the adb shell returns nothing | 21:25 |
*** piggz has quit IRC | 21:26 | |
*** piggz has joined #sailfishos-porters | 21:27 | |
klopsi-sdk | i will chew on this tonight | 21:28 |
*** edubai has joined #sailfishos-porters | 21:28 | |
mal- | did you start adb as root like before? | 21:28 |
klopsi-sdk | adb is still running | 21:29 |
klopsi-sdk | so yes with root perms | 21:29 |
klopsi-sdk | should smc_pa**.bin be in /etc on device? | 21:30 |
klopsi-sdk | or /system/etc | 21:30 |
mal- | in /system/etc | 21:30 |
klopsi-sdk | both /system and /systemorig are empty (to ls) | 21:30 |
klopsi-sdk | nb i still have cm11 on the device | 21:31 |
mal- | you have cm11 now? | 21:31 |
klopsi-sdk | yes | 21:32 |
mal- | maybe the files are different for that, I'll check | 21:32 |
mal- | the lists of files look the same | 21:33 |
mal- | but the binaries might be different anyway | 21:34 |
klopsi-sdk | ah i see it is using "adb pull /system/$DEST $BASE/$DEST" | 21:34 |
klopsi-sdk | hmm strange i cant find the files on my phone | 21:35 |
mal- | don't know if recovery mode is different, maybe you should oot to normal and enable adb in there | 21:35 |
klopsi-sdk | will try that | 21:37 |
*** Nekron_ has quit IRC | 21:38 | |
klopsi-sdk | do you know how to enable adb from a booted android device? just connect usb and run "adb shell" on the PC | 21:39 |
klopsi-sdk | ? | 21:39 |
mal- | no, some menu has option to enable it | 21:39 |
klopsi-sdk | ok | 21:39 |
mal- | but anyway I don't think it a good idea to get the binaries from wrong cm version, of course you can try it like that but for for final build you should have correct versio | 21:40 |
klopsi-sdk | extracting files from a booted system works! | 21:41 |
klopsi-sdk | ok | 21:42 |
klopsi-sdk | i can get things set up now and when i get cm10 on the other phone i can rerun extract-files.sh | 21:43 |
klopsi-sdk | mka hybris-hal | 21:43 |
klopsi-sdk | build/core/product_config.mk:253: *** No matches for product "full". Stop. | 21:43 |
mal- | rerun breakfash maserati | 21:44 |
klopsi-sdk | ok | 21:44 |
mal- | just wondering my text is full of typos now | 21:44 |
mal- | annoying :) | 21:45 |
klopsi-sdk | ok breakfast threw up a few errors :) | 21:46 |
mal- | what? | 21:46 |
klopsi-sdk | fatal: duplicate path device/motorola/maserati in /android/droid/.repo/manifest.xml | 21:46 |
klopsi-sdk | Done | 21:46 |
klopsi-sdk | /bin/bash: bison: command not found | 21:46 |
klopsi-sdk | build/core/config.mk:348: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop | 21:46 |
klopsi-sdk | apt-getting bison first | 21:47 |
klopsi-sdk | did you have to install jdk6? | 21:47 |
mal- | I had some jdk | 21:47 |
mal- | pastebin the manifest.xml | 21:47 |
sledges | klopsi-sdk: did you ubu-chroot into HABUILD_SDK ? | 21:48 |
sledges | (sorry if i drop in the midst of something obvious) | 21:48 |
klopsi-sdk | yep my prompt says HABUILD_SDK [maserati] | 21:48 |
sledges | klopsi-sdk: type java | 21:50 |
sledges | klopsi-sdk: type lsb_release -a | 21:50 |
klopsi-sdk | ubuntu suggests packages containing java | 21:50 |
klopsi-sdk | Description:Ubuntu 14.04.1 LTS | 21:50 |
sledges | klopsi-sdk: ls -l /usr/bin/java | 21:53 |
klopsi-sdk | ls: cannot access /usr/bin/java: No such file or directory | 21:53 |
*** Nekron_ has joined #sailfishos-porters | 21:54 | |
sledges | did you download this: | 21:55 |
sledges | TARBALL=ubuntu-trusty-android-rootfs.tar.bz2 | 21:55 |
sledges | ? | 21:55 |
sledges | curl -O http://img.merproject.org/images/mer-hybris/ubu/$TARBALL | 21:55 |
*** phdeswer has joined #sailfishos-porters | 21:56 | |
sledges | (in 4.4.1) | 21:57 |
klopsi-sdk | i think i did... i have ~/mer/sdks/ubuntu | 21:58 |
sledges | as it comes with jave pre-installed | 21:58 |
sledges | ls -l ~/mer/sdks/ubuntu/usr/bin/java | 21:58 |
klopsi-sdk | /home/klopsi/mer/sdks/ubuntu/usr/bin/java -> /etc/alternatives/java | 21:59 |
sledges | ls -l ~/mer/sdks/ubuntu/etc/alternatives/java | 22:00 |
sledges | klopsi-sdk: is your build PC 64bit ? | 22:00 |
klopsi-sdk | lrwxrwxrwx 1 root root 46 Jan 17 23:18 /home/klopsi/mer/sdks/ubuntu/etc/alternatives/java -> /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java | 22:00 |
klopsi-sdk | yes | 22:00 |
sledges | ls -l ~/mer/sdks/ubuntu/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java | 22:01 |
klopsi-sdk | -rwxr-xr-x 1 root root 6360 Apr 19 2014 /home/klopsi/mer/sdks/ubuntu/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java | 22:01 |
sledges | ok, time to re-enter HABUILD_SDK | 22:02 |
sledges | how do you do that? | 22:02 |
klopsi-sdk | i have a terminal with it open | 22:02 |
klopsi-sdk | hadk iirc | 22:02 |
sledges | ok, in that terminal execute /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java | 22:02 |
sledges | does it work? | 22:02 |
klopsi-sdk | nope, no such file or dir | 22:03 |
sledges | ok | 22:03 |
sledges | press Ctrl+D | 22:03 |
sledges | where do you get back into? | 22:03 |
klopsi-sdk | ahh term closed | 22:04 |
klopsi-sdk | i wasnt in the chroot | 22:04 |
sledges | you need to be inside mersdk first | 22:04 |
sledges | and then in the chroot | 22:04 |
klopsi-sdk | (but i had the prompt) | 22:04 |
sledges | how come your prompt was HABUILD_SDK then? | 22:04 |
sledges | probably you executed inside Alt+F2 window | 22:04 |
klopsi-sdk | heh dunno | 22:04 |
sledges | ubu-chroot -r $MER_ROOT/sdks/ubuntu | 22:05 |
sledges | is how to enter | 22:05 |
sledges | from within mersdk | 22:05 |
sledges | otherwise ubu-chroot command is not available | 22:05 |
klopsi-sdk | ok i need to understand this. i need to source ~/.hadk.env | 22:07 |
klopsi-sdk | to set env variables properly | 22:08 |
sledges | you need to enter mersdk | 22:09 |
sledges | then type hadk maserati | 22:09 |
sledges | and all variable will get set | 22:09 |
sledges | then enter chroot | 22:09 |
sledges | and type hadk maserati again | 22:09 |
sledges | no need to source .env, as hadk function (defined in .mersdk.profile does it itself | 22:10 |
klopsi-sdk | what is the first thing i do to enter mersdk, from a brand new terminal window? | 22:11 |
sledges | 00:09 < sledges> you need to enter mersdk | 22:11 |
sledges | 00:09 < sledges> then type hadk maserati | 22:11 |
klopsi-sdk | "cd mer"? | 22:11 |
sledges | doesn't matter where | 22:11 |
sledges | all is explained in detail how to understand the guide code blocks in 1.2.1 | 22:13 |
sledges | every codeblock has "hadk" in it | 22:13 |
klopsi-sdk | reading https://wiki.merproject.org/wiki/Platform_SDK | 22:14 |
sledges | sorry to be too much specific, maybe that confused you, when i said "hadk maserati", because i do it this way (multiple devices lying aroudn:p) | 22:15 |
sledges | but typing just "hadk" should also be sufficient for you, simply speaking just type whatever the codeblock in the document tells to you type | 22:16 |
klopsi-sdk | i am definitely missing how to: < sledges> you need to enter mersdk | 22:17 |
sledges | https://wiki.merproject.org/wiki/Platform_SDK#tl.3Bdr | 22:17 |
sledges | last command | 22:17 |
klopsi-sdk | ok this is wierd. i have in .bashrc in ~ export MER_ROOT=/home/klopsi/mer \ alias sdk=$MER_ROOT/sdks/sdk/mer-sdk-chroot | 22:19 |
klopsi-sdk | but | 22:20 |
klopsi-sdk | klopsi@klopsidev:~$ sdk | 22:20 |
klopsi-sdk | No command 'sdk' found, | 22:20 |
mal- | are you using bash? | 22:20 |
sledges | did you do all the commands in that tl;dr section? | 22:20 |
klopsi-sdk | i thought .bashrc was read with every new term window | 22:20 |
klopsi-sdk | yep | 22:20 |
mal- | klopsi-sdk: don't know about that | 22:21 |
klopsi-sdk | ok ... i can cd ~/mer/sdks/sdk and run ./mer-sdk-chroot | 22:21 |
mal- | yes | 22:21 |
sledges | yep | 22:21 |
klopsi-sdk | MerSDK klopsi@klopsidev:~/mer/sdks/sdk$ hadk | 22:23 |
klopsi-sdk | Env setup for maserati | 22:23 |
sledges | ubu-chroot time with command above | 22:23 |
klopsi-sdk | ah that breaks cause my .bashrc $MER_ROOT isnt set, setting it manually now | 22:24 |
klopsi-sdk | ok | 22:25 |
klopsi-sdk | MerSDK klopsi@klopsidev:~/mer/sdks/sdk$ export MER_ROOT=/home/klopsi/mer | 22:25 |
klopsi-sdk | MerSDK klopsi@klopsidev:~/mer/sdks/sdk$ ubu-chroot -r $MER_ROOT/sdks/ubuntu | 22:25 |
klopsi-sdk | Env setup for maserati | 22:25 |
klopsi-sdk | HABUILD_SDK [maserati] klopsi@klopsidev:~/mer/sdks/sdk$ | 22:25 |
klopsi-sdk | MerSDK klopsi@klopsidev:~/mer/sdks/sdk$ hadk HABUILD_SDK [maserati] klopsi@klopsidev:~/mer/sdks/sdk$ which java | 22:26 |
klopsi-sdk | /usr/bin/java | 22:26 |
*** BluesLee has joined #sailfishos-porters | 22:26 | |
*** plfiorini has joined #sailfishos-porters | 22:27 | |
klopsi-sdk | uups bad paste | 22:27 |
klopsi-sdk | anyway which java finds java | 22:27 |
sledges | hey BluesLee , hunting gremlins with WAYLAND_DEBUG=1 jolla_messages now, join if u want:) | 22:28 |
mal- | klopsi-sdk: now run like 5.2 says | 22:28 |
sledges | klopsi-sdk: ok u are good to go | 22:28 |
BluesLee | sledges, alin, giucam: gremlins seem to appear when app is started with invoker command | 22:28 |
sledges | BluesLee: yes, and invoker is a must | 22:28 |
sledges | otherwise you end up with black covers | 22:28 |
BluesLee | sledges: okay, but i do not gremlins in that case | 22:29 |
sledges | yes, problem is in invoker | 22:29 |
BluesLee | sledges: no error messages on console with activated debugger | 22:30 |
sledges | but why voicecall-ui works with invoker? | 22:30 |
sledges | anyway, you need to close the app first, then re-run from console | 22:30 |
BluesLee | i did that | 22:30 |
sledges | it's full of messages | 22:30 |
sledges | ensure ps ax it's not running | 22:31 |
sledges | WAYLAND_DEBUG=1 jolla-message | 22:31 |
sledges | (i mistyped the dah) | 22:31 |
sledges | +s | 22:31 |
sledges | +s | 22:31 |
sledges | lol | 22:31 |
sledges | BluesLee: but without invoker the little gremlins still remain (the smooth scroling of homescreen to show/hide icons is gone) | 22:33 |
sledges | (when app is maximised) | 22:33 |
sledges | and after numerous maximis/minimise the app, i got gremlins even without invoker now | 22:34 |
*** arcean has quit IRC | 22:35 | |
BluesLee | sledges: i am testing with harbour-tidings | 22:35 |
sledges | oh tidings of comfort an joy %) | 22:36 |
BluesLee | without invoker i cannot force gremlins so far | 22:36 |
sledges | try jolla-messages | 22:36 |
BluesLee | please check just jolla-messages without wayland debugger activated from console | 22:39 |
BluesLee | no gremlins at all | 22:40 |
sledges | got gremlin | 22:40 |
sledges | after ~10 times of rapid min/max | 22:40 |
BluesLee | let me check | 22:41 |
sledges | so gremlin is not rootcause - we need to find out where all those fancy transitions gone, which are causing knock-on effects | 22:41 |
sledges | and this is what comparing wayland_debug will help, doing it now | 22:41 |
sledges | with jolla on the side | 22:41 |
*** Nekron_ has quit IRC | 22:42 | |
BluesLee | nope, no gremlins here | 22:43 |
sledges | the fact that we have no wayland debug makes app perform faster | 22:43 |
sledges | im doing it on nexus4 :P | 22:43 |
sledges | so it's still slow enough to cause occasional "not responding" | 22:44 |
BluesLee | good theory | 22:44 |
BluesLee | but you are right, i was wondering about the ui performance that its too fast on the n5, the transitions are missing | 22:46 |
BluesLee | +1 | 22:47 |
BluesLee | sledges: i opened about 10 apps and now i get the gremlins without debug on and without invoker | 22:50 |
sledges | good1 | 22:50 |
BluesLee | i closed one of those and they are gone again:-) cool stuff.. | 22:52 |
klopsi-sdk | sledges: after running ubu-chroot -r mer/sdks/ubuntu, should i be chrooted to mer/sdks/ubuntu/home/klopsi? | 22:52 |
klopsi-sdk | rather chrooted to mer/sdks/ubuntu | 22:52 |
sledges | nope | 22:52 |
sledges | just chroot | 22:52 |
sledges | the way hadk asks | 22:52 |
BluesLee | sledges: talk to you tomorrow, cu | 22:52 |
sledges | BluesLee: thanks cu | 22:53 |
sledges | klopsi-sdk: in 4.4.2 | 22:53 |
sledges | klopsi-sdk: then when you need to change dir | 22:53 |
sledges | hadk will tell | 22:53 |
sledges | see | 22:53 |
sledges | cd $ANDROID_ROOT | 22:53 |
sledges | in nearly every code block there | 22:53 |
sledges | job done | 22:53 |
BluesLee | sledges: you are welcome, i thank you | 22:53 |
klopsi-sdk | oh i see | 22:53 |
*** BluesLee has quit IRC | 22:53 | |
sledges | oki:) | 22:54 |
klopsi-sdk | HABUILD_SDK [maserati] klopsi@klopsidev:~$ echo $ANDROID_ROOT | 22:54 |
klopsi-sdk | /android/droid | 22:54 |
sledges | not oki | 22:54 |
sledges | :D | 22:54 |
sledges | your 4.1 wasn't completing | 22:54 |
*** piggz has quit IRC | 22:55 | |
klopsi-sdk | yeah i am not back to my android dir | 22:55 |
klopsi-sdk | for some reason | 22:55 |
sledges | ANDROID_ROOT is composed of MER_ROOT | 22:55 |
sledges | which wasn't set for some reason you mentioend above | 22:56 |
klopsi-sdk | yeah i see | 22:56 |
klopsi-sdk | that gets set in .hadk.env | 22:56 |
klopsi-sdk | HABUILD_SDK [maserati] klopsi@klopsidev:~$ echo $MER_ROOT | 22:56 |
klopsi-sdk | [insert value of your choosing] | 22:56 |
klopsi-sdk | lol | 22:56 |
sledges | https://wiki.merproject.org/wiki/Platform_SDK#tl.3Bdr | 22:56 |
*** phdeswer has quit IRC | 22:57 | |
sledges | gets set here and goes into .bashrc | 22:57 |
sledges | my distro .bash_profile sources .bashrc | 22:57 |
sledges | what about yours? | 22:57 |
sledges | rememebr, login shell is not a console shell | 22:57 |
klopsi-sdk | my .profile sources .bashrc | 22:57 |
sledges | then it should pick up | 22:57 |
sledges | anytime | 22:57 |
sledges | is mer_root set in bashrc? | 22:58 |
klopsi-sdk | klopsi@klopsidev:~$ echo $MER_ROOT | 22:58 |
klopsi-sdk | /home/klopsi/mer | 22:58 |
klopsi-sdk | it is set in the regular shell | 22:58 |
sledges | 00:24 < klopsi-sdk> ah that breaks cause my .bashrc $MER_ROOT isnt set, setting it manually now | 22:58 |
*** Tassadar has quit IRC | 22:58 | |
klopsi-sdk | now it is getting set | 22:58 |
klopsi-sdk | i just opened a new term and echo $MER_ROOT works | 22:58 |
sledges | cat ~/.hadk.env | 22:59 |
sledges | it wrote it in due to early evaluation probably :/ | 22:59 |
klopsi-sdk | oh what the heck, i forgot to change that | 22:59 |
klopsi-sdk | klopsi@klopsidev:~$ cat .hadk.env | 22:59 |
klopsi-sdk | export MER_ROOT="[insert value of your choosing]" | 23:00 |
klopsi-sdk | thanks | 23:00 |
sledges | kap tik skubini, tap į subini | 23:00 |
sledges | ignore that :D | 23:00 |
klopsi-sdk | ah android/droid is on my real root filesystem | 23:08 |
klopsi-sdk | not under /home/klopsi | 23:08 |
sledges | where then? | 23:09 |
sledges | /srv? | 23:09 |
klopsi-sdk | /android/droid | 23:09 |
sledges | probably because you created it there | 23:09 |
sledges | with sudo etc... | 23:09 |
sledges | hope it's chowned and all | 23:09 |
klopsi-sdk | klopsi owns everything | 23:10 |
klopsi-sdk | ah the ubuntu chroot does work | 23:13 |
sledges | pwnd! | 23:14 |
klopsi-sdk | so should i mkdir ~/mer/sdks/ubuntu/android && mv /android/droid ~/mer/sdks/ubuntu/android ? | 23:15 |
sledges | no it's fine | 23:15 |
klopsi-sdk | ah but it is not visible when i am in HABUILD_SDK | 23:16 |
sledges | yes it is | 23:16 |
sledges | /parentroot/android | 23:16 |
sledges | but that's why it's better to keep things at hom;) | 23:17 |
sledges | yep u right | 23:17 |
klopsi-sdk | ok | 23:17 |
sledges | even though just prepending /parentroot/ will work in sdk and habuild | 23:18 |
sledges | so | 23:18 |
sledges | not the end of the world | 23:18 |
klopsi-sdk | so this is ok? mv /android/droid/ ~/mer/sdks/ubuntu/android/ | 23:19 |
sledges | if you insist ;p | 23:19 |
*** Lipevakala has quit IRC | 23:19 | |
klopsi-sdk | as seen from the real root filesystem, where should android/droid reside? | 23:21 |
sledges | ~/mer/sdks/ubuntu/android/ | 23:22 |
klopsi-sdk | thanks! | 23:23 |
klopsi-sdk | ok trying make -j4 hybris-hal | 23:30 |
klopsi-sdk | Your version is: java version "1.7.0_55" // The correct version is: Java SE 1.6 or 1.7. <-- is that a problem? | 23:31 |
sledges | no | 23:31 |
klopsi-sdk | /android/droid/external/busybox/scripts/gcc-version.sh: line 11: cc: command not found | 23:31 |
*** r0kk3rz has quit IRC | 23:31 | |
sledges | bad path | 23:32 |
sledges | or you didn't move it? | 23:32 |
sledges | anyway, cd /usr/bin | 23:32 |
sledges | ln -s gcc-4.6 gcc | 23:32 |
klopsi-sdk | i moved it so it is in CHROOT /android/droid | 23:32 |
klopsi-sdk | hmm i have gcc-4.7 | 23:33 |
sledges | that | 23:33 |
klopsi-sdk | ok | 23:33 |
klopsi-sdk | should i also ln -s gcc-4.7 cc ? | 23:34 |
sledges | nope | 23:34 |
klopsi-sdk | still says line 11: cc: command not found | 23:34 |
sledges | that's safe | 23:34 |
klopsi-sdk | hybris/hybris-boot/Android.mk:58: *** There should be a one and only one device entry for HYBRIS_BOOT_PART and HYBRIS_DATA_PART. Stop | 23:35 |
sledges | you need to inspect all *fstab* files within | 23:35 |
sledges | some of them have duplicate entries | 23:35 |
klopsi-sdk | HYBRIS_FSTABS := $(shell find device/*/$(TARGET_DEVICE) -name *fstab* | grep -v goldfish) | 23:37 |
klopsi-sdk | should I replace that find with "device/motorola/maserati" because right now it is also looking in asus + common + lge + samsung + sony directories | 23:39 |
klopsi-sdk | HABUILD_SDK [maserati] klopsi@klopsidev:/android/droid/device/motorola/maserati$ ls *.fstab | 23:40 |
klopsi-sdk | recovery.fstab vold.fstab | 23:40 |
sledges | no | 23:40 |
sledges | :) | 23:40 |
klopsi-sdk | ah it only pulls in directories named maserati? | 23:40 |
sledges | yes | 23:41 |
klopsi-sdk | ok so i am inspecting recovery.fstab and vold.fstab | 23:41 |
klopsi-sdk | sdcard and sdcard-ext occur in both files | 23:43 |
sledges | comment those out in recovery | 23:43 |
*** vakkov has quit IRC | 23:44 | |
klopsi-sdk | got same error> hybris/hybris-boot/Android.mk:54: ********************* /boot appears to live on | 23:44 |
klopsi-sdk | hybris/hybris-boot/Android.mk:55: ********************* /data appears to live on /dev/block/userdata | 23:44 |
klopsi-sdk | hybris/hybris-boot/Android.mk:58: *** There should be a one and only one device entry for HYBRIS_BOOT_PART and HYBRIS_DATA_PART. Stop. | 23:44 |
sledges | debug the script then, as you already started doing successfully | 23:45 |
mal- | /boot seems to be missing still | 23:45 |
klopsi-sdk | ok | 23:46 |
*** vakkov has joined #sailfishos-porters | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!