2016-03-08 10:19:20 @kido mcirsta: heyj have you started working on QEMU? :) 2016-03-08 10:19:31 @kido if you need any assistance on that don't hesitate 2016-03-08 10:19:32 mcirsta hi kido 2016-03-08 10:19:35 mcirsta no, not yet 2016-03-08 10:19:39 @kido alright 2016-03-08 10:19:48 mcirsta to be honest I wasted my time reversing the Samsung app :D 2016-03-08 10:19:59 @kido :D 2016-03-08 10:20:00 mcirsta the one to connect from my phone 2016-03-08 10:20:05 @kido got any result? 2016-03-08 10:20:12 mcirsta well almost 2016-03-08 10:20:45 mcirsta it has an xml that controls what you can do with each model 2016-03-08 10:21:10 mcirsta and it has a property that says if it works on non-Samsung phones 2016-03-08 10:21:24 mcirsta hacked that so now it sees my Gear S even on my Xiaomi 2016-03-08 10:21:38 mcirsta then it nees some more APKs, installed those 2016-03-08 10:21:54 mcirsta but then it calls some Samsung specific classes 2016-03-08 10:22:14 mcirsta not much though, one I've found is about dual sim , I can easily remove that one ... 2016-03-08 10:22:32 mcirsta in the end though I'm not sure it's worth it, the Tizen on it is crappy 2016-03-08 10:22:56 mcirsta but I would have really liked to connect to my phone till I can get Asteroid working ... 2016-03-08 10:23:42 mcirsta now I'm not sure how far I need to go , maybe removing the call to 1-2 classes will do it, maybe not 2016-03-08 10:23:56 mcirsta I think I'm leaving it at this :) 2016-03-08 10:24:10 mcirsta and working on Asteroid instead 2016-03-08 10:24:29 mcirsta it was fun though , I like to do some Android reverse engineering once in a while 2016-03-08 10:24:45 @kido indeed it seemed to have been a lot of fun 2016-03-08 10:25:17 mcirsta learned quite a few about using apktool and such 2016-03-08 10:25:21 @kido cool work 2016-03-08 10:25:28 mcirsta even uses the smalidea plugin 2016-03-08 10:26:00 mcirsta speaking of this , will Asterioid have some software to connect to Android ? 2016-03-08 10:26:06 mcirsta to an Android phone that is 2016-03-08 10:26:37 @kido sure 2016-03-08 10:27:17 @kido for now I only have some very basic code for qtconnectivity server on my PC and qtconnectivity client on the watch 2016-03-08 10:27:38 mcirsta yes I was curious if it's in the plans 2016-03-08 10:27:49 mcirsta OK so I'll take a look at qemu tonight 2016-03-08 10:28:00 mcirsta as I said I need to see about the state of it on FW 2016-03-08 10:28:08 @kido I wanted to implement the Alert Notification Protocol standard from bluetooth but I think I won't go that way because 1- it requires root on the computer or sailfishos and android > kitkat and 2- it's very limited so anyway I will have to extend it 2016-03-08 10:28:18 mcirsta I know the server part works but I'm not sure about opengl and such 2016-03-08 10:28:42 @kido alright :) 2016-03-08 10:28:54 mcirsta well we can always take a peek at how Samsung does it :D 2016-03-08 10:29:03 mcirsta if you think that's useful 2016-03-08 10:29:22 @kido well I'd be curious about what everyone did to get inspired 2016-03-08 10:29:29 mcirsta I don't mean using any code of theirs 2016-03-08 10:29:38 mcirsta just what APIs and the basic idea of it 2016-03-08 10:29:50 @kido but in the end I understand why nobody uses the Alert Notification Profile and there is no other standard for that so... 2016-03-08 10:30:07 @kido we end up in this situation https://xkcd.com/927/ 2016-03-08 10:30:29 mcirsta lol 2016-03-08 10:31:08 mcirsta well I can reverse engineer Android stuff so we can take a peek into what Samsung or LG uses to communicate 2016-03-08 10:31:39 mcirsta but I think you mean getting the notifications from Android , right ? 2016-03-08 10:31:46 mcirsta not sending them to the watch 2016-03-08 10:31:51 @kido I will start with a Qt PC Client, then a SailfishOS client (as soon as I have a sailfish phone) and then I will extend gadgetbridge to support asteroid on android 2016-03-08 10:32:27 @kido yes I'm talking about the bluetooth le protocol between the phone and watch 2016-03-08 10:33:05 locusf heh 2016-03-08 10:33:12 @kido hey locusf :) 2016-03-08 10:33:21 locusf I read that as french 2016-03-08 10:33:23 @kido what's up? 2016-03-08 10:33:26 locusf bluetooth "le protocol" 2016-03-08 10:33:46 @kido ahah, I hope I'm not that bad in english 2016-03-08 10:34:01 locusf so yeah hey kido 2016-03-08 10:34:14 locusf I'm still stuck with asteroid on zenwatch 2016-03-08 10:34:19 @kido what's the problem? 2016-03-08 10:34:34 locusf it blurts out the partitions instead of booting 2016-03-08 10:34:43 @kido blurts out? what does that mean 2016-03-08 10:35:00 locusf it shows them in the device mounting menu of host OS 2016-03-08 10:35:43 @kido device mounting menu? 2016-03-08 10:35:50 @kido on your computer? 2016-03-08 10:35:59 locusf yeah 2016-03-08 10:36:04 @kido when? 2016-03-08 10:36:25 locusf after fastboot booting the kernel + using ext2 image 2016-03-08 10:36:42 @kido mmhhhhh 2016-03-08 10:36:58 @kido what the heck 2016-03-08 10:37:24 @kido do you have any result like splashscreen or whatever? 2016-03-08 10:37:29 @kido no adb shell? 2016-03-08 10:37:34 locusf no splash or adb 2016-03-08 10:38:07 @kido do you have /proc/last_kmsg? 2016-03-08 10:38:19 locusf I didn't look yet 2016-03-08 10:38:21 locusf too busy :p 2016-03-08 10:38:25 @kido alright 2016-03-08 10:38:29 locusf probably in the evening 2016-03-08 10:38:33 dr_gogeta86 hi guys 2016-03-08 10:38:38 @kido hi dr_gogeta86 2016-03-08 10:38:52 dr_gogeta86 locusf: new record 20h streak 2016-03-08 10:38:59 dr_gogeta86 yesterday 2016-03-08 10:39:15 dr_gogeta86 and today regularly at work 2016-03-08 10:39:23 @kido and did you use enable_adb in your kernel boot arguments? 2016-03-08 10:42:06 @kido try to use enable_adb in your img_info https://github.com/locusf/meta-athias-hybris/blob/master/recipes-kernel/linux/linux-athias/img_info next time it should trigger you a shell as soon as the ramdisk is up and running https://github.com/locusf/meta-athias-hybris/blob/master/recipes-core/initrdscripts/initramfs-boot-android/init.sh#L51 2016-03-08 10:42:42 @kido I really have no idea why those partitions are getting mounted over usb, this does not make any sense 2016-03-08 10:42:59 mcirsta I think that's some Qcom bullshit 2016-03-08 10:43:10 mcirsta I remember hearing about something like that 2016-03-08 10:43:11 @kido probably but where is that triggered? 2016-03-08 10:43:21 @kido never had that behavior 2016-03-08 10:43:22 mcirsta bootloader ? 2016-03-08 10:44:10 mcirsta I think it's some recovery or error situation that Qcom goes into 2016-03-08 10:44:14 mcirsta but it's just a guess 2016-03-08 10:44:16 @kido :| 2016-03-08 10:45:06 @kido locusf: also double check the android's /proc/cmdline and compare it to this one https://github.com/locusf/meta-athias-hybris/blob/master/recipes-kernel/linux/linux-athias/img_info#L10 to see if there is any mismatch 2016-03-08 10:45:57 @kido + make a backup of your boot or recovery partition and try to flash your boot.img on the one you chose 2016-03-08 10:46:06 @kido you can later flash back your previous bootloader 2016-03-08 10:46:34 @kido mcirsta: I will try to search if I find anything like that but this is really strange 2016-03-08 10:52:05 mcirsta kido: I remember something alongs these lines happening to the Optimus G2 when it broke 2016-03-08 11:02:09 @kido mcirsta: ok 2016-03-08 11:07:47 @kido sledges: hey, need your experience of device porting here :) have you ever heard of the locusf's problem on a qcom phone? when he boots the boot.img it somehow fails and mounts the partitions on his computer (via usb) this is a really surprising behavior 2016-03-08 11:08:00 @kido hi bob 2016-03-08 11:09:31 sledges kido: means something went wrong: https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L319 2016-03-08 11:11:47 @kido cool! I will take a look at that script, thanks a lot :) 2016-03-08 11:12:24 @kido the Boat Loader 2016-03-08 11:17:05 locusf sledges: kido I dont get any error information on my usb device attributes though 2016-03-08 11:18:54 @kido but this feature is enabled by the mer boat loader script with a specific mass_storage argument given to /sys/class/android_usb/android0/functions 2016-03-08 11:19:03 @kido there is no such thing in the asteroid's ramdisk script 2016-03-08 11:19:30 sledges locusf: you should have this: https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L216 2016-03-08 11:27:18 locusf sledges: I don't have it 2016-03-08 11:27:25 locusf I'll debug once I'm home 2016-03-08 11:28:39 @kido ok 2016-03-08 11:36:47 mcirsta Is it based on the Qualcomm reference platform? Qualcomm reference platform specifies the use of a special HS-USB mode 9006, which provides access to all partitions regardless of the bootloader lock status. 2016-03-08 11:37:05 mcirsta ote that once the correct drivers are installed, and the device is connected and switched into HS-USB 9006, its partitions will automatically appear in the Windows Disk Management console. Once they are there, you may use any mobile forensic tool or certain flash imaging tools to dump the content of the data partition. 2016-03-08 11:37:12 mcirsta sounds about right 2016-03-08 11:37:25 locusf yeah 2016-03-08 11:37:39 locusf that would explain the problems that I can't see the device identifier debug messages 2016-03-08 11:38:50 @kido nice catch mcirsta 2016-03-08 11:41:35 mcirsta http://forum.xda-developers.com/showthread.php?t=2600869 2016-03-08 11:41:50 mcirsta there seem to be various ways to get out of it 2016-03-08 11:41:59 mcirsta for Android phones of course 2016-03-08 11:42:24 mcirsta I remember having this on an LG Optimus 2 as I said but the recovery method was LG specific 2016-03-08 11:42:30 mcirsta some internal tool of theirs 2016-03-08 11:42:39 @kido ok 2016-03-08 11:43:39 mcirsta I think if you have a backup you could maybe flash those partitions ? 2016-03-08 11:43:45 mcirsta but I'm not sure 2016-03-08 17:43:31 @kido woh this is actually really cool https://www.kickstarter.com/projects/1540240985/calendar-watch 2016-03-08 17:46:26 locusf kido: yeah I had the boardname all wrong 2016-03-08 17:46:37 locusf compiling again to see if something went fubar 2016-03-08 17:46:40 @kido :) 2016-03-08 17:56:26 locusf yeah something is different now 2016-03-08 17:56:46 locusf doesn't blurt the partitions but doesn't continue from fastboot either 2016-03-08 17:57:12 @kido great 2016-03-08 17:57:28 @kido at least we are further! 2016-03-08 17:57:33 @kido check your last_kmsg 2016-03-08 17:58:20 locusf aye 2016-03-08 17:59:44 locusf its somehow in binary 2016-03-08 17:59:53 @kido last_kmsg? oO 2016-03-08 18:00:06 locusf yeah 2016-03-08 18:00:09 @kido wut 2016-03-08 18:00:14 locusf prints out this questionmark crap 2016-03-08 18:01:57 @kido mhhh maybe it is looking at the wrong address in RAM 2016-03-08 18:03:50 @kido do you use the default asus' kernel? 2016-03-08 18:04:26 locusf yes 2016-03-08 18:07:04 @kido if you manage to boot android with a vanilla kernel with just CONFIG_ANDROID_RAM_CONSOLE you might have a chance 2016-03-08 18:07:35 @kido I mean... it *could* be that the RAM_CONSOLE address isn't the same, and the only way to make sure it is the same would be to use more or less the same kernel on android 2016-03-08 20:57:43 konraditurbe I am going to do a compass app for Asteroid OS since there is no compass app 2016-03-08 20:57:50 konraditurbe I am also updating the Wiki 2016-03-08 20:59:32 @kido hi konraditurbe 2016-03-08 21:00:04 konraditurbe hi kido 2016-03-08 21:00:24 @kido well you should know that I have actualy no idea how to do the compass app for now 2016-03-08 21:00:42 @kido I don't know if there is a magnetometer or whatever 2016-03-08 21:00:52 konraditurbe There is a compass app on wear 2016-03-08 21:01:17 @kido yes but I'm not sure how it is implemented 2016-03-08 21:07:22 konraditurbe There is an accelerometer, a gyro and a compass in the LG G Watch 2016-03-08 21:08:36 @kido ok 2016-03-08 21:10:48 konraditurbe Also it would be good if the OS and the apps could have access to the WiFi module found in all Android Wear watches except the G watch 2016-03-08 21:11:03 konraditurbe For notification fetching/calendar entry... 2016-03-08 21:11:28 @kido TheAppleMan is working on that on the g watch urbane 2016-03-08 21:11:31 r0kk3rz kido: you'd have to dig into sensorfwand probably have a chat with lpotter 2016-03-08 21:12:46 konraditurbe sensorfwand? 2016-03-08 21:12:46 @kido r0kk3rz: indeed I was just checking and it seems to be QtSensors - Sensorfw - Sensorfw-hybris 2016-03-08 21:12:58 konraditurbe ah 2016-03-08 21:13:03 konraditurbe got it :) 2016-03-08 21:13:31 @kido but alin jerpelea told me that the g watch might need a proprietary sensor daemon 2016-03-08 21:13:41 @kido I mean, qcom devices 2016-03-08 21:14:17 @kido last time I got a little bit of interest in sensors (a long time ago) the test from libhybris wasn't working 2016-03-08 21:14:47 r0kk3rz lpotter is the main sensors guy, but he is in brisbane so timezones suck 2016-03-08 21:15:22 @kido silly australian :) 2016-03-08 21:16:04 r0kk3rz i know right 2016-03-08 21:17:36 konraditurbe Why do qcom chip watches need a separate sensor module? 2016-03-08 21:19:16 @kido ask qualcomm :) 2016-03-08 21:19:44 konraditurbe Didn't Google implement a sensor hub in MM? 2016-03-08 21:19:46 konraditurbe https://source.android.com/devices/sensors/sensor-stack.html 2016-03-08 21:20:06 @kido http://pastebin.com/RcDn3EiR 2016-03-08 21:21:03 konraditurbe Shoot 2016-03-08 21:21:05 konraditurbe 0 sensors 2016-03-08 21:21:57 @kido we don't use MM 2016-03-08 21:23:35 @kido ok I'm taking a look at the multihal source code and it seems I removed some part of its config 2016-03-08 21:24:35 konraditurbe on a side note, is the pootle server available? I can translate to spanish (native language) and german (second language) 2016-03-08 21:25:21 @kido went a little bit further than that http://pastebin.com/tqxm1uNn 2016-03-08 21:25:38 @kido I don't have time for that today though 2016-03-08 21:25:57 @kido no we are still lacking a real server :/ 2016-03-08 21:25:58 konraditurbe I can run it if you want, I have time :) 2016-03-08 21:26:16 konraditurbe I have a spare RPi 2016-03-08 21:26:26 konraditurbe will that be enough? 2016-03-08 21:26:33 @kido definitely no 2016-03-08 21:26:54 @kido (not enough I mean) 2016-03-08 21:27:06 konraditurbe In VLC they use Transifex and it works perfectly 2016-03-08 21:27:24 konraditurbe Not open source and web based though 2016-03-08 21:27:26 @kido isn't that a paid service? 2016-03-08 21:29:33 konraditurbe There is a free version 2016-03-08 21:30:53 konraditurbe I can create an organization and manage it 2016-03-08 21:31:27 @kido it seems just to be a demo 2016-03-08 21:31:55 @kido it would cost less to host our own website on a server that could also host openembedded build 2016-03-08 21:32:47 @kido anyway, for now there isn't much to translate :) 2016-03-08 21:33:07 @kido but your help is welcome and I'll keep that in mind 2016-03-08 21:33:34 konraditurbe Maybe host the string files on GitHub 2016-03-08 21:33:44 konraditurbe and do like strings-es.xml 2016-03-08 21:33:59 konraditurbe I remember a android ROM doing that 2016-03-08 21:34:53 @kido qt offers powerful tools when it comes to internationalization, it's just that there isn't much text yet and I haven't taken care of that yet 2016-03-08 21:37:40 konraditurbe ok, cya! 2016-03-08 21:40:58 r0kk3rz kido: transifex is free for open source, you just need to give it a repository url 2016-03-08 21:41:11 r0kk3rz and it also integrates nicely with the qt translation files 2016-03-08 21:42:45 @kido ok so now this is interesting :D 2016-03-08 21:48:52 @kido ok I tried to create an organization and it seems to be all good, still need to make the code translation friendly 2016-03-08 21:51:39 mcirsta honestly I only care about english :D 2016-03-08 21:52:02 mcirsta and as soon as you translate stuff people come with these error messages in God knows what language 2016-03-08 21:52:03 mcirsta :D 2016-03-08 21:52:11 @kido ahah 2016-03-08 21:52:26 mcirsta and EN is not my mother tongue but I still like it better than my own lang 2016-03-08 21:52:36 @kido well this is needed for most 2016-03-08 21:53:01 mcirsta serious ..... ich habe eine kleine ... and you there you go ... looking for wtf that means and such 2016-03-08 21:53:14 mcirsta for the general audiece yes translations are needed 2016-03-08 21:53:27 mcirsta but if you work in IT learn EN or go home IMO :D 2016-03-08 21:54:09 @kido asteroid isn't supposed to be only friendly with IT people :) 2016-03-08 21:54:28 mcirsta well mom isn't going to use it anytime soon :D 2016-03-08 21:55:02 mcirsta I mean no offense but for now this is its target ... for a while at least 2016-03-08 21:55:39 @kido I agree, this is why it has not been a priority and still won't be, but this is not a reason to ignore it and this is also a nice way to get people involved in asteroid 2016-03-08 21:55:49 mcirsta yes sure 2016-03-08 21:56:12 mcirsta the only thing I dread is people posting stuff they get in Asteroid in foo language :D 2016-03-08 21:56:35 mcirsta I even fear messages in my native Romanian 2016-03-08 21:56:45 mcirsta sometimes I don't even get wtf those mean :D 2016-03-08 21:56:54 mcirsta I can understand the words but ... 2016-03-08 21:56:55 mcirsta anyway 2016-03-08 21:57:02 @kido anyway, asteroid knows no error... ;) 2016-03-08 21:57:12 mcirsta I'm not looking at getting bitbake 2016-03-08 21:57:28 @kido :) 2016-03-08 22:00:52 mcirsta now :D 2016-03-08 22:00:55 mcirsta damn typos 2016-03-08 22:01:05 mcirsta it seems I'll need that one 2016-03-08 22:32:23 @kido ok some libs were missing for invensense.sensors.so, we are getting a little bit further http://pastebin.com/38bApdG7 but there is still work 2016-03-08 22:32:51 @kido anyway, I should be doing maths, see you guys