Camelia, the Perl 6 bug

IRC log for #motoactv, 2013-01-20

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

All times shown according to UTC.

Time Nick Message
00:05 Atarii webkit is taking ages
00:05 dproldan yeah,  biggest module I think
00:07 dproldan do you know what are those  …jni….  libraries?
00:07 dproldan oh,  java native interface
00:07 Atarii :)
00:08 Atarii too slow
00:17 Atarii so bored of webkit..
00:18 Atarii going to put this vm on my other PC tomorrow, so it compiles faster
00:26 dproldan yeah, better
00:26 dproldan it takes about 20 minutes here
00:27 Atarii the generic-userdebug was quicker than this, taking far too long
00:27 Atarii is stilll progressing though, just reall slow
00:28 dproldan that's the CCACHE then,  not enough space :-P
00:30 Atarii going to run downstairs and turn my other machine on
00:30 Atarii think i can get virtual box and the vm on there quicker than this build lol
00:34 dproldan There's a problem with libmedia.so
00:35 dproldan with the built one,  if I have a headset connected and press a volume button,  the MA restarts
00:35 Atarii ah ok, you got a logcat?
00:35 Atarii ouch
00:36 dproldan If I drop the one from the stock rom,  it doesn't restart,  but there are errors with the libmedia-jni.so
00:36 dproldan that it needs some other libraries, like 4 or 5
00:37 dproldan If I add libmedia-jni,  the MA doesn't boot
00:38 dproldan gets to a point where it complains about the libmedia-jni not being the right version
00:38 Atarii do you get a logcat from when it doesn't bot?
00:38 Atarii ah yea ok
00:48 Atarii the backlight is still not turning off when locking
00:49 Atarii also the battery symbol could be related to battd
00:49 dproldan rename /system/lib/hw/lights.G2.so to lights.default.so
00:50 dproldan it's fixed when you build,  not in preview8
00:50 Atarii ah nice, thanks :)
00:51 dproldan actually, all of those libs must be renamed ATM
00:51 dproldan I'm missing a property somewhere
00:52 dproldan battd I took the binary from stock
00:53 Atarii backlight works now, thanks for that :)
00:54 dproldan have to do the same for sensors,  for rotation to wokr
00:54 dproldan work
01:06 Atarii there's quite a lot about battery status not working with motorola phones, related to battd and /lib/libbattd.so https://www.google.co.uk/search?q=site:​forum.xda-developers.com+battd+motorola
01:07 Atarii back in 10
01:17 Atarii back
01:20 dproldan our /sys/class/power_supply/battery/charge_counter seems to give 1% steps
01:21 Atarii that's good
01:21 Atarii was reading about that here: http://forum.xda-developers.​com/showthread.php?t=1097244
01:21 dproldan heh,  exactly the same one I'm reading
01:22 Atarii heh :)
01:29 CEnnis91|Mobile joined #motoactv
01:34 CEnnis91_ joined #motoactv
01:38 Atarii i'm off, cya later dproldan :)
01:38 dproldan yep,  bye
08:56 bobbyjones69 joined #motoactv
08:57 bobbyjones69 hello
08:58 bobbyjones69 so i have a quesion is this the chat for dprom for motoactv
09:06 bobbyjones69 hello
16:58 bobbyjones69 hello
17:13 thed3ck3r joined #motoactv
17:14 thed3ck3r Hello
17:15 thed3ck3r helo
17:28 thedecker joined #motoactv
17:29 thedecker Hello
18:05 dproldan joined #motoactv
18:06 dproldan hi
18:39 Atarii joined #motoactv
18:39 Atarii joined #motoactv
18:53 thedecker Hey guys
18:53 dproldan hello
18:54 thedecker Soo ive been creeping on the chat logs and i see so progress of an asop rom
18:54 thedecker Some
18:54 dproldan yep
18:55 thedecker Just and fyi i am willing to be a test pig
18:55 dproldan heh,  ok.  You've probably seen the links for doenloading the previews...
18:56 dproldan at the moment,  the main problems are very obvious,  so no testing ir really needed
18:57 Atarii hey :)
18:57 thedecker Yeah i saw 8 but i wanted permission and also was wondering why most games that are confermed working just go to a black screen on dprom
18:58 Atarii dproldan guess what, it built!
18:59 dproldan thedecker: you can install preview8,  no problem
18:59 dproldan Atarii: great!
18:59 Atarii i wasted like nearly a week all because i missed the stupid bionic.tgz!! :@
18:59 Atarii got it on my other pc, so builds qucker now
19:00 Atarii how's things with you?
19:00 dproldan thedecker: games not working now are because most games have been updated to support ICS and other things,  our MotoACTV has a very old system
19:00 dproldan just trying to fix wifi, EGL, audio, DSP,  whatever
19:01 dproldan at the moment,  i'm plpaying with the dsp files from cyanogenmod
19:01 Atarii ok cool :)
19:01 Atarii ill pick one off the list to have a go at
19:01 Atarii probably wifi
19:02 dproldan nice yeah
19:02 thedecker And also im building an Ubuntu compurer with dual xeon processors  i may give remote access when im finished if you need more building power
19:02 Atarii nice :)
19:03 thedecker If i were to install an old version of the apk would it work
19:03 Atarii probably
19:03 Atarii angry birds works afyer doing tjat
19:03 Atarii after* that*
19:04 thedecker Cool. What version of android is the asop build on
19:05 Atarii 2.3.4
19:15 dproldan how can I build a single kernel module?
19:18 dproldan we would need dspbridge and another one for the dsp
19:18 dproldan uhm,  maybe I can get it from a CM build
19:19 Atarii use like http://source.android.com/s​ource/building-kernels.html
19:19 Atarii waot thr modules bit isnt there
19:20 dproldan our kernel builds fine
19:20 dproldan but it's not including dspbridge
19:21 dproldan just hoped I could build one of them indepently
19:23 Atarii something like this http://forum.xda-developers.​com/showthread.php?t=1236576
19:23 Atarii i haven't done tgat before though
19:24 dproldan nice,  thanks,  trying that
19:41 Atarii will be good to add other governors
19:42 dproldan yeah
19:42 dproldan I'm getting lost
19:43 dproldan trying to get new things added is secondary,  yet I'm trying to add HW acceleration
19:43 dproldan no less
19:44 Atarii surely that should already be in thr kernel, for stock ROM?
19:44 Atarii or is there additional stuff needed?
19:44 dproldan dspexec is commented out in init-xxx-rc
19:45 Atarii ah ok
19:45 dproldan stock is missing the modules and the firmware,  codecs,  etc
19:46 dproldan <--- going back to the right path
19:46 dproldan gotta fix audio and wifi before anything else
19:49 dproldan about wifi
19:49 dproldan I added all the wifi stuf to the board config
19:50 dproldan it builds fine
19:50 thedecker joined #motoactv
19:50 dproldan when I press the wifi turn-on check box,  it starts doing its things
19:50 dproldan I added a few blobs for wpa-supplicant,  etc
19:50 dproldan now I'm stuck at:
19:50 dproldan WifiHW  : Unable to open connection to supplicant on "sta": No such file or directory
19:54 dproldan found something:   ./libhardware_legacy/wifi/wifi.c:#define WIFI_TEST_INTERFACE"sta"
19:55 Atarii ahh finally on my computer :)
19:55 Atarii was VNCing through my phone before, whilst feeding my son (hence the bad typing) :p
19:55 Atarii sta is the interface type i think
19:56 Atarii sta=station
19:56 Atarii ap=access point
19:56 dproldan seems to be a test interface,  just a name when it doesn't know who to call
19:58 thed3ck3r joined #motoactv
20:03 thed3ck3r Anything i can do to help
20:04 thed3ck3r Also what should i install on ubunti
20:06 dproldan thed3ck3r: http://source.android.com/source/initializing.html
20:07 thedecker joined #motoactv
20:07 Atarii follow them all, to the letter :p
20:10 thedecker This may take a few mins
20:10 Atarii dproldan did you get the module compiled?
20:10 dproldan nope,  I dont' know if all the sources needed are present
20:11 dproldan it says,  "nothing to make for default" or something like that
20:11 thedecker What ubuntu should i use i have 10.10 installed
20:11 Atarii i have 10.04, but dproldan has 11.10
20:11 Atarii i think 10.10 should work
20:12 Atarii there may be a few different thigns to install, but they are noted on that guide
20:13 thedecker Whats the perferd version
20:13 Atarii those official Android guides say 10.04
20:13 Atarii as that's what they use in-house
20:14 Atarii dproldan have you tried just making a full kernel, with the extra modules you want enabled?
20:14 dproldan no,  I'm leaving that for later
20:15 Atarii I think you enable (add) them in drivers/cpufreq/Makefile
20:15 dproldan can't you edit the mapphone_defaultconfig file?
20:16 dproldan took a look at it before
20:16 dproldan actually there are afew gorvernors enabled
20:16 dproldan I think
20:17 thedecker Prolly because its long term support
20:18 thedecker I wonder if the android guys ever updated linux and broke
20:18 thedecker It
20:26 Atarii hmm dproldan my system.img is only 53MB
20:27 dproldan have you issued the commands for making the ext3 image?
20:27 dproldan look in the device/motorola/G2/ folder
20:27 Atarii ok thanks
20:27 dproldan you have to do this:
20:28 dproldan dd if=/dev/zero of=./system.img bs=1k count=159616
20:28 dproldan mkfs.ext3 system.img -F
20:28 dproldan mkdir mnt-point
20:28 dproldan sudo mount -t ext3 -o loop system.img mnt-point/
20:28 dproldan cp -rfp ./out/target/product/G2/system/* mnt-point/
20:28 dproldan sudo umount mnt-point
20:28 dproldan in the root of your android build folder
20:28 Atarii you can add that to the build script, so it does it automatically
20:28 dproldan yeah,  something else to do  :-)
20:29 Atarii heh, put up a todo somewhere
20:29 dproldan I have a problem with the sudo thingy
20:29 dproldan I don't know much about scripting really
20:29 Atarii your user doesn't have sudo access?
20:30 dproldan no,  it asks me for the password
20:30 Atarii ok, yea you need to edit your sudoers files and add "NOPASSWD" to your user
20:32 dproldan I see
20:33 Atarii type visudo
20:33 Atarii go to the bottom
20:34 dproldan done
20:34 Atarii add this:
20:35 Atarii dproldan ALL=(ALL) NOPASSWD: /bin/mount, /bin/umount, /bin/shutdown
20:35 Atarii ack not that bit at the end
20:35 Atarii just this: dproldan ALL=(ALL) NOPASSWD
20:36 dproldan ok
20:39 dproldan are you good at scripting?
20:40 dproldan maye you can make that file
20:40 Atarii the one to make the ext3 image?
20:40 dproldan yeah
20:40 Atarii ok
20:40 Atarii also this folder: ./out/target/product/G2/system/* is this for me: ./out/target/product/generic/system/*
20:42 dproldan that's not right
20:42 dproldan generic folder is build with make generic-userdebug
20:42 dproldan G2 folder must be build with generic_G2-userdebug
20:43 Atarii ill kick off another build
20:43 Atarii to make sure
20:43 dproldan do a "make clobber"
20:43 dproldan then "lunch"
20:44 Atarii too late :p
20:44 dproldan choose the number for generic_G2-userdebug
20:44 dproldan heh
20:44 dproldan ok
20:44 Atarii ok did that, kicked off again
20:45 dproldan the out folder must be created already
20:45 dproldan check if it's G2
20:46 Atarii it's there now
20:47 Atarii guess i did the wrong build
20:47 dproldan ok
20:47 Atarii think that must've been when i transfered over the VM to the other machine
20:47 dproldan maybe
20:47 dproldan also:  https://github.com/dproldan/android_de​vice_motorola_G2/blob/master/README.md
20:48 dproldan step 7
20:48 Atarii heh yea
20:59 thedecker So im asuming there would be no chance fir a supper striped ICS on account of the 256 mem
21:00 dproldan Motorola Milestone has a CM10 running
21:00 thedecker Really
21:00 dproldan that phone has the same hardware more or less
21:00 dproldan yeah
21:01 thedecker Except screen
21:01 dproldan When everything works in 2.3.4,  I'll try with the next versions
21:02 dproldan well,  we have a smaller display,  no camera,  no baseband
21:02 thedecker So imm a noob.... Where would info on starting to dev at
21:04 dproldan everything is really scattered, and written for not-noobs,   I'm afraid,  took me many months to start doing something worth the time
21:04 Atarii dproldan does dspbridge, libstagefrighthw, liboverlay etc get compiled?
21:05 dproldan let me check
21:07 dproldan dspbridge doesn't
21:07 Atarii try adding HARDWARE_OMX := true to the BoardConfig.mk
21:07 Atarii that should build those then
21:08 dproldan trying to work on wifi right now
21:08 dproldan I'll check later
21:08 dproldan oh, that property is already set
21:09 Atarii ah
21:09 Atarii i think this is for wifi:
21:09 Atarii BOARD_WLAN_TI_STA_DK_ROOT := /system/wlan/ti/wilink_6_1
21:10 dproldan hmm,  that makes sense
21:10 thedecker I have messed with linux and i have messed with meny ROMs for d4 and dx so i know my way around terminal
21:11 Atarii just found this for wifi dproldan, you may need these extra things too: https://github.com/nadlabak/android_system_wlan_ti
21:11 Atarii WIFI_DRIVER_MODULE_PATH etc
21:11 dproldan those are in,  I copy that from CM7 for miletone board config
21:11 Atarii ahok
21:12 dproldan where didy you get this from?  BOARD_WLAN_TI_STA_DK_ROOT := /system/wlan/ti/wilink_6_1
21:12 Atarii from the system-wlan-ti.tgz
21:12 dproldan k
21:12 Atarii the Android.mk inside that says: ifdef BOARD_WLAN_TI_STA_DK_ROOT
21:12 Atarii include everything
21:13 Atarii and i knew the wilink location/version as I'd looked into the wifi drivers a while back
21:13 dproldan good,  I have to remove the hardware_legacy module then,  that is building the incorrect wifi thing
21:13 Atarii wifi packet injection mode is on bottom of the todo list ;)
21:16 Atarii dproldan where is HARDWARE_OMX set?
21:17 dproldan oh,  I haven't commited it yet
21:17 Atarii ah :)
21:17 dproldan I'm a noob with git,
21:18 dproldan I prefer not to comit ntil something new is working
21:18 dproldan that way I can alway go back,  and you guys can try new things
21:18 Atarii makes more sense than commited rubbish :p
21:19 dproldan did it build in your new machine?
21:20 dproldan i'd like to know if it boots in your MA
21:20 Atarii it's doing the apps, so anytime now
21:41 Atarii dproldan do you have a rememberthemilk.com account?
21:41 Atarii build completed btw. now flashing
21:41 dproldan nope,  rememberthemilk?
21:41 Atarii it's a todo list website
21:42 dproldan heh,  I'll take a look at it
21:45 thedecker Hows the test build
21:46 Atarii actually forget rememberthemilk, I've made a public google docs spreadsheet:
21:46 Atarii https://docs.google.com/spreadsheet/ccc?key=​0Ap1jpdn-nn-ndDhUWnBmWEJNaEk2b2tvdGZHdHlvOVE
21:46 Atarii so anyone can add stuff to be done, with notes etc
21:46 dproldan nice
21:46 dproldan I'll add to it later
21:53 Atarii back later
21:53 dproldan how was the flashing?
21:54 Atarii haven't tried yet lol
21:54 dproldan ok
22:12 thedecker joined #motoactv
23:02 thedecker Hows the flashing
23:28 Atarii back
23:28 Atarii that system.img doesn't boot
23:33 Atarii i think it's the same as preview7/8
23:33 Atarii not 8, 8 boots
23:42 Atarii dproldan are your latest sources in? (the ones used for build 8)?
23:59 dproldan Yeah.

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