Camelia, the Perl 6 bug

IRC log for #motoactv, 2012-08-06

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

All times shown according to UTC.

Time Nick Message
01:30 Quietlyawesome94 joined #motoactv
02:55 nhat__ joined #motoactv
02:55 nhat__ CEnnis91
02:58 nhat anyone awake?
03:27 nhat joined #motoactv
08:42 dproldan joined #motoactv
10:12 Mfinab joined #motoactv
10:13 JmCourir Hi guys!  :)
10:18 [mbm] nobody actually here.
10:22 JmCourir pretty calm it is :)
11:25 dproldan joined #motoactv
11:28 dproldan JmCourir: your idea worked,  another donation received!
11:31 JmCourir great!
11:31 JmCourir happy for you dproldan
11:32 JmCourir I have a huge problem that I have explain to CEnnis91 yesterday
11:35 dproldan ok,  I read it
11:35 dproldan let me check one thing
11:37 JmCourir ok
11:39 JmCourir hope you guys can do something on how to extract those data files without having to sync with motoactv.com website
11:39 dproldan one guy was doing it,  I'm looking for the message
11:40 JmCourir let me tell you guys that if you find how, you'll get imo more donation
11:41 JmCourir this is the main problem of this watch atm... ppl scared that Moto not resolving issue with the website ... and would not be able to sync their watch anymore with other app
11:42 dproldan really?,  as I'm not using it for sports,  I don't know about problems on that side
12:08 dproldan joined #motoactv
13:12 nhat joined #motoactv
13:31 nhat anyone awake?
13:32 dproldan yep
13:32 nhat nice
13:32 nhat just received a motoactv for my bday
13:32 nhat impressed by the amount of dev support it has already
13:32 dproldan cool
13:32 nhat is it possible to change/replace the wallpaper?
13:33 dproldan of the stock launcher,  yes,  but it not easy
13:33 nhat yes, with the stock launcher
13:34 dproldan you need unpack Launcher2.apk and change home_bg.png,  the repack it
13:34 nhat hm ok
13:34 nhat what about with your rom?
13:34 dproldan well,  my rom has a different wallpaper
13:34 nhat using the stock launcher, not a 3rd-party
13:35 * nhat kicks CEnnis91 in the shins
13:36 dproldan if you have a picture in mind,  I could do it for you,
13:36 nhat i don't at the moment, just curious
13:36 nhat thanks for the offer though
13:37 dproldan look for "apktool",  it allows you to extract apks
13:37 nhat got it
13:37 nhat thanks
13:38 dproldan you use that tool with Launcher2.apk,  change the wallpaper,  repack it with apktool,  then you only have to copy the signing bits from the original apk to the new one
13:39 nhat ok thanks
13:41 nhat are you using 1.4.9?
13:42 dproldan 1.4.3 for linux,  maybe I should update,  :-)
13:42 nhat http://forum.xda-developers.​com/showthread.php?t=1755243
13:43 dproldan great, thanks!
13:44 nhat np
13:45 nhat is pre-install.img necessary? or is it one of those things that you might as well flash anyways?
13:45 nhat your instructions say to flash it, FreeFly doesn't even list it
13:46 dproldan it only has the text-to-speech data and a few applications to be preinstalled
13:46 dproldan those applications can be uninstalled by the user
13:47 dproldan I used that method instead of bundling apps in system,  that cannot be uninstalled easilt
13:47 nhat i prefer using fastboot anyways
13:47 nhat going to be flashing a stock rom with golf so i guess i'll just flash everything
13:48 nhat although i'm temtped to just flash your rom
13:48 dproldan try the stock first,  then you'll know what its missing
13:48 dproldan :-)
13:49 nhat lol
13:52 dproldan_ joined #motoactv
13:53 dproldan_ joined #motoactv
13:59 nhat how's battery life been for you with your rom?
14:00 dproldan 48-50 hours wiht bluetooth connected to the phone,  about 70 hours without
14:01 nhat damn nice
14:01 nhat why do you use fastboot -w after flashing all the imgs?
14:02 dproldan there's some kind of bug,  the first one doesn't delete everything right
14:02 nhat ok
14:02 nhat formatting 'userdata' partition...
14:02 nhat Erase successful, but not automatically formatting.
14:02 nhat Can't determine partition type.
14:02 dproldan I found that sometimes,  it wouldn't ask you which country you're in,  or which language you want
14:03 nhat oh ok
14:03 dproldan formatting?  you're doing that from recovery?
14:03 nhat no fastboot
14:04 nhat booting up now
14:05 nhat have you run into any issues with motoactvsynctool.exe?
14:05 dproldan nope,  only the same issues as with the stock rom
14:06 dproldan motoactv doesn't connect to internet the first time,  always have to try
14:06 dproldan *retry
14:20 nhat argh
14:20 nhat golf software doesn't list long enough yardages for certain clubs...
14:20 dproldan really?
14:22 dproldan 270 yards is the max for all of them?
14:22 dproldan I could modify that
14:23 nhat it limits certain clubs, like the PW to 135yds max
14:23 nhat SW to 105
14:23 nhat GW to 120
14:24 dproldan yep,  you're right.  let me take a look
14:27 dproldan it's using an average,  then probably addind several yards, up and down:
14:27 dproldan <integer-array name="club_avg_male">
14:28 nhat interesting
14:28 nhat you move quick
14:28 dproldan <item>240</item><item>220</item><item>21​5</item><item>200</item><item>195</item>​<item>170</item><item>160</item><item>20​5</item><item>195</item><item>180</item>
14:28 dproldan <item>Driver</item><item>2 Wood</item><item>3 Wood</item><item>4 Wood</item><item>5 Wood</item><item>7 Wood</item><item>9 Wood</item><item>1 Iron</item>
14:30 dproldan looks, like it adds 50 yards up and down,  to the average
14:31 nhat yeah that makes sense looking at the yardages it first shows
14:31 dproldan It should be easy to make that +/-100 yards,  or directly modify the Golf/res/values/arrays.xml
14:31 nhat probably easier to move the average up
14:34 nhat i need to learn where to look for all these files
14:34 nhat so i can help out
14:39 JmCourir-cell joined #motoactv
14:39 JmCourir-cell Hi
14:39 nhat hi
14:39 dproldan hi
14:40 JmCourir-cell I have another request for you guys
14:40 JmCourir-cell TTS
14:41 JmCourir-cell I have installed Endomondo and it's asking me to have Tts
14:41 JmCourir-cell Text to speech
14:41 dproldan the Motoactv has pico TTS installed
14:42 dproldan I can enable the TTS settings for you to try
14:42 dproldan maybe it's needed to chnage some preferences
14:42 JmCourir-cell That would be nice
14:42 nhat i didn't know the motoactv downloaded a whole state's worth of course maps
14:43 JmCourir-cell I tested Endomondo and it's working
14:44 nhat are you using dprom?
14:44 JmCourir-cell Yeah that's good for runners and bikers like ne nhat:-)
14:44 nhat i'm a golfer lol
14:44 JmCourir-cell Of course I do my friend
14:45 nhat just received mine so i'm trying a stock rom with golf first
14:45 nhat not quite sure if i want to be able to check gapps on my watch just yet lol
14:46 JmCourir-cell Nice we have here all different kinds of person that's great to improve this little amazing high tech product
14:46 nhat yeah i'm impressed
14:47 JmCourir-cell But it needs some brilliant guy like dproldan and cennis
14:48 dproldan nhat: got it modified,  now it's +/- 128 yards
14:48 nhat lol wow
14:49 JmCourir-cell Brb 15m I'm at a customer business right now.
14:54 dproldan nhat: want to install this Golf.apk?
14:55 nhat sure!
14:55 dproldan you installed stock 1.7.10N,  rigth?
14:55 nhat yes
14:55 dproldan let's see if DCC tranfer works
14:57 dproldan nah,  let me upload it somewhere
14:57 nhat heh
14:59 dproldan https://docs.google.com/open?i​d=0BxTLcy78OveNT0dJTXdpLWZUVTA
15:00 nhat hmm nor moving
15:00 nhat can you try sending again?
15:00 nhat over dcc?
15:00 nhat i haven't yet configured it
15:00 dproldan waiting now
15:01 nhat oh well
15:01 nhat so how do i install this apk with the stock launcher?
15:01 dproldan with adb:
15:01 dproldan adb remount
15:02 nhat adb isn't recognizing it
15:02 dproldan adb shell mv /system/app/Golf.apk /system/app/Golf.apkold
15:02 dproldan oh,  shit  :-)
15:02 dproldan you need to go into recovery with mbm's images,  one second
15:03 dproldan look at the "recovery" section of this page:
15:03 dproldan http://wiki.opticaldelusion.org/wiki/Motoactv
15:03 dproldan that recovery has adb enabled
15:04 dproldan so can send things to the motoactv
15:04 nhat ok
15:04 nhat so power down, reboot into bootloader, flash those 2 images, then adb remount and adb shell?
15:05 dproldan after flashing those  2 images,  it will reboot into recovery
15:05 dproldan then: adb shell mount /dev/block/system /system
15:06 dproldan then check :  adb shell ls /system/app/
15:07 nhat nice, learning something new
15:07 nhat waiting for the watch to charge some more
15:07 nhat first flash removed 40% battery
15:07 dproldan yeah,  it's a bit dangerous
15:08 dproldan if you run into problems some other time,  you can charge the motoactv by slightly pluging the charger,  only the tip :-)
15:08 nhat interesting
15:09 nhat ok brb, gonna let it charge
15:09 nhat i'll need to ask you about how to install the apk using adb again
15:09 nhat thanks for all the help!
15:10 dproldan i'll leave the instructions here,  maybe I'm afk later
15:10 dproldan when you're in recovery:
15:10 dproldan adb shell mount /dev/block/system /system
15:10 dproldan adb shell mv /system/app/Golf.apk /system/app/Golf.apkold
15:11 dproldan go to the folder  where you have downloaded Golf.apk,
15:11 dproldan adb push Golf.apk /system/app/
15:12 dproldan adb shell chmod 644 /system/app/Golf.apk
15:12 dproldan check that you have the two apks:
15:12 dproldan adb shell ls /system/app/Golf*
15:12 dproldan if it's ok:
15:12 dproldan adb reboot
15:24 CEnnis91 JmCourir-cell: JmCourir: are you around
15:24 nhat_ joined #motoactv
15:26 nhat_ ok screw it
15:26 nhat_ flashing dprom
15:28 dproldan heh,  then I have to upload another Golf.apk
15:29 CEnnis91 dproldan: what's this about golf.apk?
15:29 nhat oh hai CEnnis91
15:29 CEnnis91 hey nhat
15:29 nhat you are the ultimate lurker
15:29 CEnnis91 im always connected to irc btw, just not always on
15:29 nhat i know lol
15:30 dproldan nhat found that the clubs yards max values are too small
15:30 dproldan nhat: you a pro golfer or what?
15:30 nhat not quite, 2 handicap right now
15:30 CEnnis91 dproldan: wait meaning what?
15:31 nhat_ joined #motoactv
15:31 dproldan 2!!
15:31 nhat meaning i couldn't get the yardages to accurately reflect what i can hit my clubs with the motoactv
15:31 dproldan I made a small modification for him
15:32 nhat ok up to 84%
15:34 nhat i can get my PW up to 150 but the motoactv limits it to 135
15:34 nhat so now i get to install this apk through adb, which i've never done before
15:36 CEnnis91 i really need to get to working on this freaking rom for the motoactv, so i can actually start using the device
15:38 nhat your hyperactv rom?
15:38 dproldan for dprom you should flash 3 images
15:39 dproldan oops, sorry
15:41 CEnnis91 nhat: yea
15:42 CEnnis91 the first release will take longer then the rest
15:42 CEnnis91 cuz im scripting out the entire process
15:43 nhat excited to see what you have in store
15:43 nhat dproldan, so i can't just install this golf.apk if i flash your rom?
15:43 dproldan yep
15:44 dproldan but I found that this modification only worked for drivers and irons,  I'm checking waht needs to be done for wedges
15:44 dproldan on minute
15:44 dproldan one
15:44 CEnnis91 nhat: alot of the the same as what dproldan has already put together
15:45 CEnnis91 the biggest difference (imo) will be the key modifications
15:45 CEnnis91 with DPRom you lose functionality =/
15:45 dproldan heh
15:46 JmCourir-cell Back from customer
15:46 CEnnis91 JmCourir-cell: that db i had you copy contains everything used by the motoactv site
15:46 dproldan you loose the music button,  a button that you have in the headset cable, which you need to listen to music
15:47 CEnnis91 dproldan: but my method loses nothing =P
15:47 JmCourir-cell Will read more during my dinner time all your comments from this morning
15:48 dproldan but is it easy to use?  hope you can find a good compromise
15:48 CEnnis91 dproldan: double tap power to swap key profiles
15:49 JmCourir-cell Okay so which database I need to send to you
15:49 CEnnis91 JmCourir-cell: data/data/com.motorola.gault.a​ctivity/databases/activity.db
15:50 JmCourir-cell This seems to be the same database I sent you yesterday
15:50 CEnnis91 yes
15:50 dproldan nhat: try that Golf.apk,  I'll take another look later,  gotta go now
15:51 nhat ok
15:51 nhat what time is it in malaga? 6pm?
15:51 nhat 7pm?
15:53 JmCourir-cell will send you back this database when ill be at home
15:54 JmCourir-cell 30mibutes
15:54 CEnnis91 JmCourir-cell: i dont need it anymore
15:54 CEnnis91 lol
15:55 CEnnis91 it just matters of what you want to do with it next
15:55 JmCourir-cell Is there a app that I can install to access root files from a pc browser
15:55 CEnnis91 droid explorer maybe
15:56 CEnnis91 http://de.codeplex.com/
15:56 JmCourir-cell Will give it a try.
15:57 JmCourir-cell I'd like to have possibility to export training data in a app like endomondo or sporttracks
15:58 JmCourir-cell Without the necessity of syncing with motoactv site
15:59 JmCourir-cell This is a huge thing for me. If Motorola shut down their website I'll still be able to get my data
15:59 JmCourir-cell My training data
16:00 JmCourir-cell It could be in gpx file format or even the same as motoactv. Cvs
16:18 JmCourir back home, now reading what you guys said while I was away
16:28 JmCourir over
16:38 JmCourir well, well,
16:44 JmCourir hmm endomondo needs work to make it good on motoactv
16:47 JmCourir endomondo, when searching for a radio device, it goes automatically on the bluetooth panel. I cant go to Ant+ radio panel insteak to choose my accessory ant+
16:50 JmCourir is that possible to say to endomondo app to go in /settings/Sensors instead of going in /settings/Wireless ?
16:50 JmCourir that would probably being able to sync a ant+ radio accessories to endomondo
16:51 JmCourir cool, droid explorer works on Motoactv
16:51 JmCourir I can get all files I want
16:51 CEnnis91 woot well just scripted out the entire process to make the boot.img for hypractv
16:52 JmCourir cool CEnnis91  :)
16:52 JmCourir cant wait to try out your rom
16:54 JmCourir CEnnis91, do you think I can modify something in endomondo? ---> http://mfinab.dyndns.org:8​000/20120806-alp-99kb.jpg
16:54 CEnnis91 yes, you can modify anything
16:55 CEnnis91 sometimes things like prefs wont change unless you do it right
16:55 CEnnis91 or sometimes not at all
16:55 CEnnis91 if there are checks within the code itself
16:55 CEnnis91 db's are usually completely modify-able
16:55 JmCourir ok, where is the code normally ?
16:55 CEnnis91 the code as in the apk
16:56 JmCourir ohmmm
16:56 JmCourir what app do  you use to open text file ? a normal notepad?
16:56 CEnnis91 yea w.e
16:56 CEnnis91 just make sure it supports linux line endings
16:57 JmCourir wordpad
16:57 CEnnis91 notepad++ is a good one
16:57 JmCourir ok will download notepad++
16:57 JmCourir is there a way to back up before making modification with droid explorer?
16:57 CEnnis91 you could just save the file somewhere
16:57 JmCourir maybe you know it right away... without having to go read anything
16:57 JmCourir ok
16:57 JmCourir thanks
16:59 JmCourir are we allowed to modify another app legally?
17:00 CEnnis91 eh
17:00 CEnnis91 if you sell it no
17:00 JmCourir ok
17:00 CEnnis91 if you keep to yourself, no one will know anyay
17:00 JmCourir yeah of course, but what if we get popular if we talk about it?
17:01 JmCourir maybe endomondo would like that ?
17:01 JmCourir only talking here...
17:01 CEnnis91 not sure
17:01 JmCourir ok
17:01 CEnnis91 the amount of modification you could do is quite limited
17:02 CEnnis91 bbl
17:02 JmCourir ok
17:03 JmCourir CEnnis91, ?
17:03 JmCourir is that what it's supposed to look like when you open a file? http://mfinab.dyndns.org:8​000/20120806-8p6-467kb.jpg
17:15 JmCourir how to view sql data? http://mfinab.dyndns.org:8​000/20120806-qe2-123kb.jpg
17:16 JmCourir http://mfinab.dyndns.org:8​000/20120806-b62-145kb.jpg
17:16 JmCourir I see tables but not any data
17:49 dproldan nhat: tried that apk?
18:27 nhat no, didn't have time
18:31 nhat getting android sdk set up on this laptop now
18:46 JmCourir-at-offi joined #motoactv
18:47 JmCourir-at-offi back!
18:48 JmCourir-at-offi now testing sporttrackers https://play.google.com/store/apps/details?id=com.​sportstracklive.android.ui.activity.pro&amp;featur​e=search_result#?t=W251bGwsMSwxLDEsImNvbS5zcG9ydHN​0cmFja2xpdmUuYW5kcm9pZC51aS5hY3Rpdml0eS5wcm8iXQ..
18:48 JmCourir-at-offi installed succesfully
18:48 JmCourir-at-offi let see what's gonna happend when I'll plug a new device
18:55 CEnnis91 dproldan: how have you been mkaing your rom, jw
18:55 CEnnis91 by hand?
18:56 CEnnis91 plus that scripted resigning
18:57 dproldan yeah,  I keep a "master" folder for /system,  after I test something new in the device,  if it works fine,  the modified files go to that msater folder
18:58 CEnnis91 ah, okay then we're doing basically the same thing
18:58 CEnnis91 im going one step further
18:58 CEnnis91 im scripting smali hacks
18:59 dproldan I should learn how to apply diffs and such...
18:59 CEnnis91 oh
18:59 CEnnis91 that might be more useful...
18:59 CEnnis91 dproldan: but we would have to create a new patch file everytime moto updates wouldn't we?
19:02 dproldan I don't know how it works,  I was expecting that it searches for a specific line in a file, then it can exchange that line with something you provide
19:02 dproldan but i don't know if it needs the same line number
19:02 CEnnis91 well i guess i should try it out on the services jar
19:02 CEnnis91 lemme see if i can figure it out
19:06 nhat finally got adb set up on this laptop
19:06 CEnnis91 oh well think of it this way dproldan
19:06 CEnnis91 patch wise in updater-scripts
19:06 CEnnis91 you need the before and after md5sum (sha1sum maybe)
19:07 CEnnis91 so that's not exactly useful then imo
19:07 CEnnis91 i know .patch files may not work that but in android it seems to
19:12 JmCourir-at-offi hmmmm will have to make a test with http://www.sportstracklive.com/ it may work
20:26 JmCourir-at-offi dproldan: I just saw some pics on G+  you post about microphone.
20:26 JmCourir-at-offi Does it working?
20:32 dproldan kind of.
20:34 dproldan Moto borke something and Motoactv can only record at 8000 kHz
20:34 dproldan so,  only a few programs can use that
20:34 dproldan even the android system can't use it
20:35 dproldan another thing to fix
21:28 nhat_ joined #motoactv
22:00 nhat__ joined #motoactv
22:43 Quietlyawesome94 joined #motoactv
23:24 JmCourir back
23:25 JmCourir just came from a run
23:25 JmCourir was testing motoactv with Zeam launcher ''On''
23:26 JmCourir Music was cutting off a little bit sometimes very rare though
23:26 JmCourir looks like cpu was working hard maybe?

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