Camelia, the Perl 6 bug

IRC log for #motoactv, 2013-01-21

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 dproldan did you run the commands for the ext3 fs
00:03 dproldan look at the G2 out system folder
00:04 dproldan this folder:  out/target/product/G2/system
00:04 Atarii yea i did
00:04 dproldan all the bin are 755
00:05 Atarii hmm this is weird
00:05 Atarii ls -l out/target/product/G2/system/
00:05 Atarii drwxr-xr-x 3 atarii atarii 4096 2013-01-20 21:57 etc
00:05 Atarii only has etc folder in system
00:06 dproldan yeah,  weird
00:06 dproldan you should have a complete system.img fs
00:07 dproldan dproldan@daniel-Ubuntux64:~/desarrollo/motoactv$ ls -l out/target/product/G2/system/
00:07 dproldan total 44
00:07 dproldan drwxrwxr-x  2 dproldan dproldan 4096 2013-01-20 23:18 app
00:07 dproldan drwxrwxr-x  2 dproldan dproldan 4096 2013-01-20 23:15 bin
00:07 dproldan -rw-rw-r--  1 dproldan dproldan 1467 2013-01-20 22:50 build.prop
00:07 dproldan -rw-r--r--  1 dproldan dproldan  130 2012-08-26 15:40 default.prop
00:07 dproldan drwxrwxr-x 11 dproldan dproldan 4096 2013-01-20 23:18 etc
00:07 dproldan drwxrwxr-x  2 dproldan dproldan 4096 2013-01-20 22:56 fonts
00:07 dproldan drwxrwxr-x  2 dproldan dproldan 4096 2013-01-20 23:17 framework
00:07 dproldan drwxrwxr-x  8 dproldan dproldan 4096 2013-01-20 23:15 lib
00:07 dproldan drwxrwxr-x  3 dproldan dproldan 4096 2013-01-20 22:56 media
00:07 dproldan drwxrwxr-x  7 dproldan dproldan 4096 2013-01-20 22:58 usr
00:07 dproldan drwxrwxr-x  2 dproldan dproldan 4096 2013-01-20 23:03 xbin
00:07 Atarii oh actually that may be because i ran a few commands after i build the system
00:08 Atarii was trying to buld individual modules
00:09 dproldan did you do make clobber again or make clean?
00:12 Atarii hmm
00:13 Atarii both?
00:13 dproldan you don't have to issue those
00:13 dproldan clobber erases the whole out folder
00:13 dproldan clean erases all the files inside
00:14 Atarii ah :)
00:24 Atarii any better go
00:24 Atarii cya dproldan :)
00:24 dproldan bye
00:25 thedecker joined #motoactv
12:23 dproldan joined #motoactv
13:56 dproldan joined #motoactv
13:57 dproldan joined #motoactv
15:53 _tbb joined #motoactv
15:55 _tbb hi is it possible to use motoactv for example as gps server for an external device connected via bluetooth?
15:56 dproldan not at the moment
15:56 dproldan maybe with a non-motorola based rom
15:56 dproldan and some app
16:07 _tbb ah k
18:25 dproldan got the wifi working!
19:46 dproldan joined #motoactv
20:24 Atarii joined #motoactv
20:24 Atarii joined #motoactv
20:25 Atarii hey
20:26 dproldan hi
20:26 dproldan wifi works now
20:26 Atarii oh nice :)
20:26 Atarii what was the fix for that?
20:27 dproldan I had to edit that wifi.c,  change the "sta" definition
20:27 Atarii ah right ok
20:27 Atarii that's weird, would've thought motorola should've included changes to make that work
20:27 dproldan I've added a compiled one to the prebuilts,  so no change to the aosp folders is needed
20:28 Atarii ok
20:28 Atarii can you upload the change you made somewhere too?
20:28 dproldan yeah,  funny that they don't list wifi as a target in their open source page readme
20:28 Atarii i'd like to compile the wifi drivers at some point
20:29 dproldan sure
20:29 dproldan goinf to commit the ttrees now
20:29 Atarii ok cool :)
20:30 Atarii i'll mark it off the todo list :)
20:30 dproldan that list is read only for me, btw
20:30 Atarii oh, ill change that
20:31 Atarii should be fixed now
20:31 Atarii all read/write accesss
20:31 Atarii https://docs.google.com/spreadsheet/ccc?key=0Ap​1jpdn-nn-ndDhUWnBmWEJNaEk2b2tvdGZHdHlvOVE#gid=0
20:42 thedecker joined #motoactv
20:44 thedecker So wifi works. Hows sound commin
20:47 thedecker And is there any possablity for preview9
20:47 thedecker .zip
20:49 dproldan I'll upload it,  yes,  but no zips,  imgs
20:50 thedecker Yeah but youl prolly upload the img on a zip file
20:50 dproldan oh, yes  :-)
20:53 thedecker Im stoaked about this. You guys are awesome but i have one question... does market and search work
20:53 thedecker And audio
20:53 Atarii search does
20:53 Atarii don't think market is added yet
20:54 Atarii audio not yet
20:54 thedecker Cool. Would i be able to in stall gapps
20:54 dproldan I tested gapps,  market launches,  and searchworks,  but nothing is compatible,  but I know how to fix that
20:54 thedecker Cool
20:55 Atarii does that need build.prop fixes?
20:55 dproldan there's an xml to be added
20:55 Atarii ok
20:55 Atarii do you want to add that to the todo list too?
20:55 dproldan sure
20:59 dproldan Atarii: what about your builds?
20:59 dproldan do you flash anything
20:59 dproldan did you?
20:59 Atarii i'm now re syncing your latest stuff and building again
20:59 dproldan k
21:00 Atarii ls
21:01 Atarii wrong window :p
21:01 dproldan :-)
21:02 dproldan I have compatible file to test FM tx…
21:02 Atarii ooh nice
21:02 dproldan would be great if it worked
21:03 Atarii is that from another motorola?
21:03 dproldan yeah,  chinese milestone had it enabled
21:03 Atarii awesome
21:04 dproldan the fm radio apk works fine in DPRom,  and launches in ReACTV,  but as audio is still not working
21:05 Atarii ah yea
21:05 Atarii so hopefully if audio works, that should too
21:06 dproldan yep
21:06 dproldan I've been looking at the gesture to turn on the device
21:09 Atarii is that in these sources?
21:15 thedecker Why is the sound being a bitch
21:21 dproldan sorry,  back
21:22 dproldan gesture is embeded in the stock rom framework
21:22 dproldan not in the sources
21:24 dproldan I started merging somethings:  vendor_G2/overlay/frameworks/base/cor​e/java/com/motorola/android/kinetics
21:24 dproldan but I don't know it it's feasible
21:25 Atarii hmm
21:25 Atarii you'd have to reverse where it's called too
21:26 dproldan yeah,  there are some things in different packages
21:28 dproldan is there some way to call java methods from the command line?
21:28 Atarii yes, but not quite like that
21:28 Atarii one sec
21:29 dproldan at the end,  it's  this method:   .method public setScreenOnGestureStatus(Z)Z
21:30 dproldan that needs to be called after this is set up_:  .method public enableKinetic(Landroid/os/IBi​nder;Ljava/lang/String;IIB)Z
21:33 Atarii not sure how you'd get that into it
21:33 Atarii either reverse the dex code /j #smali
21:33 dproldan dunno
21:33 Atarii either reverse the dex code into java
21:33 Atarii or just include the compilled one and recreate the code that calls it
21:34 Atarii "com.motorola.gault.kinetic.OFF_MODE_RECOVERY" <- wonder what that is
21:35 dproldan disble the kinetics in recovery?  as in not count steps, and such
21:36 Atarii recovery would've load all the framework would it?
21:37 dproldan I think this is just a socket thingy,   look at kinetics.G2.so,  you'll see some commands of the kinetics smali
21:38 dproldan let's check if there's something launching it in init
21:38 Atarii oh that OFF_MODE_RECOVERY is called from NetworkAgent.apk
21:39 dproldan lol
21:39 Atarii "UpdateChecker, notify off mode recovery"
21:42 Atarii you'd need this too dproldan for kinetics: /etc/mspfirmware/*
21:42 dproldan thedecker: https://www.dropbox.com/s/pz1b​eoregfodkcv/ReACTVpreview9.zip
21:43 dproldan yes
21:43 dproldan this is all related to the msp430
21:43 Atarii yea
21:43 Atarii KineticTest.apk
21:43 dproldan hte msp uses an input event to wake up the device
21:43 dproldan I think
21:44 dproldan http://wiki.opticaldelusion.org/wiki/MSP430
21:44 thedecker Wifi enabled
21:44 dproldan the firmware loads fine
21:44 dproldan thedecker: yes
21:45 thedecker Anything else new fron 8
21:45 dproldan some UI changes,  for the lock screen to look better,  maybe something else,  don't know
21:46 thedecker Lol ok ill play with it
21:46 Atarii kinetics is referenced from framework.jar, services.jar, KineticTest.apk and Settings.apk. Then additionally SleepAnalysis.apk, Workout.apk, WorkoutAnalysis.apk and WorkoutLauncher.apk (but won't need those hopefully)
21:47 dproldan yep,  a lot of that is for the sports function
21:47 dproldan I only want the turn-on thing
21:48 Atarii so hopefully just the framework stuff
21:48 Atarii or maybe not even that
21:48 Atarii if you can invoke directly to test
21:48 dproldan maybe it only needs an echo to some dev node
21:48 dproldan or even a direct command to msp430 binary
21:48 Atarii you have it loaded up now?
21:49 Atarii yea the RAMDIsk starts the msp430 service
21:49 Atarii using the /system/bin/msp430 binary
21:50 Atarii so that may work
21:50 dproldan yes,  it's running
21:50 dproldan you can see its messages in dmesg
21:50 Atarii oh cool :)
21:50 Atarii the calories thing?
21:50 dproldan if you send it your profile,  yes
21:51 dproldan msp430 udata <sex> <age> <height> <weight>
21:51 Atarii excellent :)
21:51 dproldan (values are in hex with no "0x" prefix)
21:51 Atarii that binary may take these commands:
21:52 dproldan it does
21:52 dproldan just paste msp430 udata 06 06 06 06
21:52 dproldan and look at dmesg
21:52 Atarii service, boot, bootfactory, normal, tboot, tread, twrite, tmread, tmwrite, debug, udata, factory, active, passive, tenableirq, tdisableirq, getversion
21:53 dproldan I checked those some weeks ago,  most of them do nothing
21:53 dproldan or didn't, for me
21:56 Atarii ah ok
21:57 Atarii "MSP not in bootloader mode"
21:57 dproldan is there anyway to send an ioctl from command line?
21:57 dproldan these are the known commands:  http://wiki.opticaldelusion.org/wiki/MSP430
21:57 Atarii oh lol, should've read that first
21:57 thedecker So if i wonted to load gapps how would i do that
21:57 thedecker Wanted
21:58 thedecker And have it work
22:02 thedecker Or is that a no
22:03 Atarii try the ones from dprom?
22:03 thedecker Ok
22:04 dproldan standard gapps work now
22:04 dproldan ay
22:04 dproldan anyway,  try this from an adb shell ,  for example….   ioctl /dev/msp430 tenableirq
22:06 dproldan it answers,  at least
22:06 dproldan have to go to bed early tonight
22:06 dproldan see ya
22:09 Atarii oh too slow lol
22:36 _ilbot joined #motoactv
22:36 Topic for #motoactv is now MotoACTV Development. Channel logs at http://irclog.perlgeek.de/motoactv/
22:44 thedecker joined #motoactv
22:44 thed3ck3r joined #motoactv

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary