*** TheSeven has quit IRC | 01:51 | |
*** TheSeven has joined #xdandroid | 01:51 | |
*** kalemas has joined #xdandroid | 03:39 | |
*** Dweezahr has joined #xdandroid | 03:50 | |
*** diego_kynetics has joined #xdandroid | 04:05 | |
*** kalemas has left #xdandroid | 05:11 | |
*** kalemas has joined #xdandroid | 05:11 | |
*** hardwalker has quit IRC | 05:20 | |
*** hardwalker has joined #xdandroid | 05:22 | |
*** YellowGTO has quit IRC | 05:31 | |
*** balans has quit IRC | 05:34 | |
*** balans has joined #xdandroid | 05:35 | |
*** YellowGTO has joined #xdandroid | 05:38 | |
*** hardwalker has quit IRC | 06:07 | |
*** YellowGTO has quit IRC | 06:08 | |
*** YellowGTO has joined #xdandroid | 06:08 | |
*** calon has joined #xdandroid | 06:13 | |
*** diego has joined #xdandroid | 06:34 | |
*** diego is now known as Guest86178 | 06:35 | |
*** diego_kynetics has quit IRC | 06:35 | |
*** Guest86178 has quit IRC | 06:44 | |
*** diego_kynetics has joined #xdandroid | 06:44 | |
*** kofrad has left #xdandroid | 06:57 | |
*** kofrad has joined #xdandroid | 06:57 | |
*** YellowGTO has quit IRC | 07:13 | |
*** YellowGTO has joined #xdandroid | 07:14 | |
*** kwoodyusa has joined #xdandroid | 08:23 | |
*** helicopter88 has joined #xdandroid | 08:34 | |
*** drakaz has quit IRC | 08:35 | |
helicopter88 | has someone a diamond for me? i'm missing my diamond :( | 08:36 |
---|---|---|
*** drakaz has joined #xdandroid | 08:36 | |
*** xawen1 has quit IRC | 08:47 | |
*** xawen1 has joined #xdandroid | 08:47 | |
*** EdLin_ has joined #xdandroid | 08:57 | |
*** diego has joined #xdandroid | 08:57 | |
*** diego is now known as Guest27724 | 08:57 | |
*** diego_kynetics has quit IRC | 08:59 | |
*** CazH has quit IRC | 08:59 | |
*** EdLin has quit IRC | 08:59 | |
*** CazH has joined #xdandroid | 09:06 | |
*** calon has joined #xdandroid | 09:10 | |
*** calon has quit IRC | 09:11 | |
*** kalemas has left #xdandroid | 09:24 | |
*** kalemas has joined #xdandroid | 09:24 | |
*** kalemas has left #xdandroid | 09:26 | |
*** YellowGTO has quit IRC | 09:37 | |
*** drakaz has quit IRC | 09:40 | |
*** YellowGTO has joined #xdandroid | 09:41 | |
*** drakaz has joined #xdandroid | 09:41 | |
*** F22 has quit IRC | 10:06 | |
*** YellowGTO has quit IRC | 10:13 | |
*** programmer8922 has quit IRC | 10:13 | |
*** YellowGTO has joined #xdandroid | 10:13 | |
*** F22 has joined #xdandroid | 10:20 | |
*** helicopter88 has quit IRC | 10:22 | |
*** JesusFreak316 has joined #xdandroid | 10:31 | |
*** F22 has quit IRC | 10:40 | |
*** F22 has joined #xdandroid | 11:02 | |
*** Hella has joined #xdandroid | 11:03 | |
*** Hella has quit IRC | 11:07 | |
*** F22 has quit IRC | 11:31 | |
*** F22 has joined #xdandroid | 11:33 | |
*** programmer8922 has joined #xdandroid | 11:35 | |
*** JesusFreak316 has quit IRC | 11:41 | |
*** programmer8922 has quit IRC | 12:02 | |
*** programmer8922 has joined #xdandroid | 12:02 | |
leobaillard | ? | 12:05 |
*** programmer8922 has quit IRC | 12:06 | |
*** |Jeroen| has joined #xdandroid | 12:12 | |
*** ryannathans has quit IRC | 12:20 | |
*** ryannathans has joined #xdandroid | 12:24 | |
*** bzo has joined #xdandroid | 12:24 | |
*** hey has joined #xdandroid | 12:50 | |
hey | hi | 12:50 |
hey | jemand da? | 12:50 |
*** hey has left #xdandroid | 12:53 | |
*** |Jeroen| has quit IRC | 13:15 | |
*** ryannathans has quit IRC | 13:25 | |
*** mes has quit IRC | 14:04 | |
*** kwoodyusa has quit IRC | 14:16 | |
*** ryannathans has joined #xdandroid | 14:34 | |
*** arrrghhh has joined #xdandroid | 14:35 | |
*** Guest27724 has quit IRC | 14:39 | |
arrrghhh | hyc, tried the user.conf changes. seems a little snappier, might just be placebo effect. certainly not earth shattering, but every ounce of performance we can squeeze out of this old phone is worth it. | 14:42 |
*** helicopter88 has joined #xdandroid | 14:50 | |
*** programmer8922 has joined #xdandroid | 15:15 | |
hyc | arrrghhh: yeah, every little bit helps. | 15:34 |
stinebd | definitely placebo | 15:34 |
arrrghhh | lol | 15:34 |
arrrghhh | stinebd, how goes the merge requests | 15:34 |
stinebd | don't know | 15:34 |
stinebd | gonna wrap them into a system image and try them later | 15:35 |
stinebd | since you're not giving me anything :P | 15:35 |
hyc | oh boy... | 15:35 |
arrrghhh | heh | 15:35 |
arrrghhh | what else you want mang | 15:35 |
arrrghhh | i thought you said they all look good | 15:35 |
arrrghhh | minus the one i tested | 15:35 |
arrrghhh | and the other one with wifi i can't test | 15:35 |
stinebd | all but frameworks/base | 15:35 |
arrrghhh | i tested that | 15:35 |
arrrghhh | and commented on it | 15:35 |
stinebd | commented where? | 15:36 |
stinebd | gitorious? | 15:36 |
arrrghhh | on the merge request? | 15:36 |
arrrghhh | yea | 15:36 |
stinebd | well fuck | 15:36 |
*** Yusuke14 has quit IRC | 15:36 | |
stinebd | maybe i should go on gitorious occasionally then | 15:36 |
arrrghhh | sorry, i was supposed to email you. | 15:36 |
arrrghhh | thought i did. | 15:36 |
arrrghhh | evidently not. d'oh. | 15:36 |
stinebd | gitorious probably emailed me to the same effect anyway | 15:36 |
stinebd | so it's my fault not yours | 15:36 |
arrrghhh | np | 15:37 |
stinebd | alex has a merge request in for the gps driver, have you heard anything? | 15:37 |
arrrghhh | i'm just excited about a new build. want to help out however i can. | 15:37 |
arrrghhh | i just saw that today in the mailing list | 15:37 |
arrrghhh | other than that, nothing. | 15:37 |
stinebd | ok | 15:37 |
stinebd | i briefly looked it over and it doesn't seem to do anything about gingerbread workage | 15:38 |
arrrghhh | hrm | 15:38 |
stinebd | but hopefully the LOGD stuff will help figure out where the issues are | 15:38 |
stinebd | he changed a bunch of printf() calls to LOG*() | 15:39 |
arrrghhh | ah, that's the part about changing the code to output to logcat? | 15:39 |
stinebd | yeah | 15:39 |
arrrghhh | schweet | 15:40 |
arrrghhh | oh well, i should go clean up mah truck. bbl. | 15:41 |
hyc | i'm holding off on more merge requests until the current ones are resolved | 15:46 |
*** programmer8922 has quit IRC | 15:47 | |
hyc | but at this point my init looks very different.. | 15:47 |
*** programmer8922 has joined #xdandroid | 15:47 | |
*** programmer8922 has quit IRC | 15:51 | |
hyc | and i'm not going to request a merge for my kernel patch. better to get onto .35 than keep bandaging .27 | 15:59 |
XirXes | how is .35 working these days? | 16:12 |
stinebd | bad | 16:12 |
XirXes | bummer | 16:12 |
hyc | yeah, won't boot successfully for me | 16:14 |
hyc | jonpry said he had it booting ok a while ago | 16:14 |
hyc | Alex says his tree is better | 16:15 |
*** mes has joined #xdandroid | 16:15 | |
stinebd | i heard cotulla's is the best | 16:15 |
hyc | lol | 16:15 |
hyc | such a mess. | 16:15 |
XirXes | i saw your email about unmounting /data on shutdown hyc. ive never once had my /data corrupt | 16:17 |
mes | hyc, to use your new data mount practise, I need to rebuild the system.img, yes? and from your tree | 16:18 |
hyc | really? it seems to happen fairly often to various users | 16:18 |
hyc | judging from forum traffic | 16:18 |
stinebd | i've never seen first-hand catastrophic loss in data.img either | 16:19 |
mes | I have had it happen, data corrupt, at least once a month | 16:19 |
XirXes | ive always thought it was pretty wierd that ive never seen it. ive been fairly lucky on sd card stuff. | 16:19 |
hyc | mes: new system, new rootfs | 16:19 |
XirXes | i wasnt affected by the clocks thing either | 16:20 |
hyc | stinebd: what do you consider catastrophic? app fcs are pretty common | 16:20 |
mes | shit, I can clone your tree but the new linker in debian won't link it | 16:20 |
stinebd | hyc: i've never seen that | 16:20 |
hyc | due to db journal issues | 16:20 |
hyc | hm, you must be very lucky ;) | 16:21 |
XirXes | me either. i see force closes like never. and ive had the same install on my sd for at least 3 months now | 16:21 |
hyc | the fix_permissions script usually took care of it for me. | 16:21 |
stinebd | db journal issues would be due to android not closing the files, not from it umounting, no? | 16:21 |
hyc | same difference tho, android doesn't kill the apps cleanly | 16:22 |
XirXes | and my data.img is probably from January. | 16:22 |
stinebd | kill user apps? | 16:22 |
hyc | riht | 16:22 |
stinebd | it shouldn't, they run in a dalvik instance | 16:23 |
hyc | with my shutdown service, everything gets a sigterm | 16:23 |
stinebd | by your logic, this should be happening on retail devices too | 16:23 |
hyc | yep. it happens on the g1 | 16:24 |
stinebd | with a google system? | 16:24 |
hyc | why do you think cyan wrote fix_permissions in the first place? | 16:24 |
stinebd | cyan wrote that because of his busted ass apps2sd (and various other) hack | 16:24 |
XirXes | apps2sd was always such a dirty hack | 16:25 |
hyc | hmm. app2sd only moved the apks, not the data | 16:25 |
hyc | so that doesn't explain why data got corrupted | 16:25 |
stinebd | various other should then | 16:26 |
hyc | and you're going to want that hack once you get on nand. | 16:27 |
stinebd | why? | 16:27 |
stinebd | google's hack works better | 16:27 |
hyc | 256M for /data won't go far. | 16:27 |
hyc | google's hack is a memory hog | 16:27 |
hyc | a dedicated fs and mount point for every app? | 16:28 |
hyc | each in their own individual loop mount? blech. | 16:28 |
XirXes | i can agree with that. googs hack is the biggest reason why my g2 is slow at boot time | 16:28 |
XirXes | i didnt know that about googs hack. but i just ran df on my g2 and there they are | 16:30 |
hyc | moronic | 16:30 |
stinebd | it uses dmcrypt volumes to protect paid apps | 16:30 |
mes | hyc, is there a manifest that will pull your whole xdandroid tree? | 16:30 |
hyc | mes: nope | 16:31 |
XirXes | i really dont think thats too bad of a way to do that | 16:31 |
XirXes | i like it better than an ext3 partition on my sd | 16:31 |
hyc | mebbe i should make one. would prefer that it all just getd merged upstream tho | 16:32 |
stinebd | well then maybe i'll just ignore it to spite you baby | 16:32 |
hyc | paid apps may be a different story | 16:32 |
hyc | stinebd: :p | 16:32 |
hyc | then i guess i better join tiad8.com. or start my own forum in protest. | 16:33 |
stinebd | hycdroid.com | 16:33 |
stinebd | i'd join | 16:33 |
hyc | lol | 16:33 |
XirXes | im looking at it like this. googles only takes up the amount of space the app needs. preallocating space like you would by making a 512 mb or something partition on your sd is wasteful. | 16:35 |
hyc | i was never a fan of ext3. the g1 guys are using ext4 now. silly, the journaling wears out sd cards faster | 16:35 |
hyc | i stick with ext2... | 16:35 |
XirXes | agreed | 16:36 |
mes | you can stop the journal if you want | 16:36 |
hyc | for ur phones google's is the wrong tradeoff. we have not enough ram, and up to 32gb of sd. | 16:37 |
hyc | our phones* | 16:37 |
hyc | wasting space on sd just isn't an issue. ram is precious tho. | 16:37 |
XirXes | us tp2 users have alot more ram than the crippled out the gate g1 | 16:38 |
hyc | still, more is always better. and you already said your g2 is slow. | 16:38 |
XirXes | at boot | 16:38 |
XirXes | after its made those mount points its very fast | 16:39 |
hyc | eh, ok. | 16:39 |
hyc | still not a trade i would make. you pay in memory just for having those apps installed. | 16:40 |
hyc | even if you aren't running them at the moment. | 16:40 |
XirXes | its a pretty negligable amount of memory | 16:41 |
hyc | on a g2, sure | 16:41 |
*** YellowGTO has quit IRC | 16:42 | |
XirXes | 256 mb is alot. my tp2 has like 90 mb of ram free when its not doing anything | 16:42 |
stinebd | wtf mine has like 20 | 16:43 |
hyc | wow. i have like 5mb free | 16:43 |
stinebd | crazy dalvik | 16:43 |
XirXes | its been a really long time since i checked, how are you checking | 16:43 |
hyc | and i've turned off a bunch of autostart apps. otherwise it'd be totally bogged down | 16:44 |
hyc | cmdline free | 16:44 |
stinebd | apps settings | 16:44 |
hyc | lemme see what that says here... 40m | 16:45 |
XirXes | mines been on for a few days. 3200 k free | 16:46 |
hyc | hard to believe. but even so, better to have lots of ram available for fs cache | 16:46 |
hyc | or for the occasional piggish app | 16:47 |
stinebd | such as acore | 16:47 |
XirXes | how much ram do you think your saving by not having additional loop devices? | 16:47 |
stinebd | 128k | 16:48 |
hyc | lol | 16:48 |
XirXes | i guess i just havent been a linux guy long enough to fret about that much :) | 16:49 |
*** YellowGTO has joined #xdandroid | 16:51 | |
hyc | i'm going to guess that your shutdown time slows down too | 16:52 |
XirXes | task killer says i have 40M free. i assume that means that davlik pages off memory for itself | 16:52 |
hyc | if it actually bothers to unmount everything | 16:52 |
stinebd | doubtful | 16:52 |
hyc | actually i think it does, since those mounts are handled by vold | 16:53 |
XirXes | i dont really shutdown that often. | 16:53 |
stinebd | they're read-only | 16:53 |
hyc | mmm. ok, good point | 16:53 |
hyc | i try not to shutdown often ;) usually don't, unless i'm testing something new | 16:54 |
stinebd | i always shut down otherwise the united states of google government will track my every move according to fox news | 16:55 |
XirXes | thats usually the cause of my shutdowns. tho my tp2 has been dying on the charger as of late cause i never unplug it | 16:55 |
hyc | well, google certainly tries ... i have their checkin disabled using droidwall | 16:56 |
hyc | but i still use gmaps a lot | 16:57 |
XirXes | stine, why doesnt froyo on the tp2 get the updated market? | 16:57 |
*** calon has joined #xdandroid | 16:57 | |
*** helicopter88 has quit IRC | 16:58 | |
stinebd | good question | 17:00 |
stinebd | next time use my complete nickname so i get highlighted | 17:00 |
XirXes | my bad | 17:07 |
*** calon has quit IRC | 17:18 | |
hyc | stinebd: I lied. New merge request. It's a simple one. https://gitorious.org/xdandroid/initramfs/merge_requests/1 | 17:19 |
arrrghhh | initramfs, that thing hasn't changed in almost a year | 17:20 |
hyc | so it was about due ;) | 17:20 |
arrrghhh | ah, your sdcard/card0 name change. | 17:20 |
hyc | yeah, no big deal | 17:21 |
arrrghhh | yea if i can figure out the commit, surely. | 17:21 |
arrrghhh | :P | 17:21 |
hyc | lol | 17:22 |
arrrghhh | so how did muzling or whatever fix your phone.apk? | 17:26 |
arrrghhh | i saw he posted a new one, and he used some apktools to fix it... but what did he do...? | 17:26 |
hyc | he took the phone.apk, decompiled it, and recompiled it | 17:27 |
hyc | apparently some other parts of it needed to be matched up to the framework,jar. | 17:27 |
hyc | so even without editing any of the files, decompile/recompile fixed it | 17:27 |
arrrghhh | weird | 17:28 |
stinebd | dont leave me arrrghhh! | 17:40 |
arrrghhh | dowhat | 17:40 |
stinebd | oh you're still here | 17:40 |
arrrghhh | lol | 17:40 |
stinebd | i saw the little clock by your name and thought you left | 17:40 |
arrrghhh | i'm in and out. need to get back to cleanin. | 17:40 |
stinebd | ehe | 17:42 |
stinebd | they added a cherrypick command to repo | 17:42 |
stinebd | i wonder what it does | 17:43 |
hyc | oh yeah, saw that repo got updated | 17:43 |
hyc | didn't bother to look | 17:43 |
*** calon has joined #xdandroid | 17:49 | |
stinebd | oh man repo list is nice | 17:50 |
stinebd | greatly simplifies my maintainer scripts | 17:50 |
stinebd | ouch | 18:20 |
stinebd | google apps for domains is now limiting free accounts to 10 users | 18:20 |
stinebd | and by now i mean in may | 18:24 |
hyc | cool. in their quest for global domination they are limiting how much of the globe they can dominate at once. | 18:25 |
stinebd | at least they're grandfathering us | 18:28 |
*** rpierce99 has joined #xdandroid | 18:48 | |
stinebd | hyc: your phone merge request will have to be forward ported for gingerbread | 18:53 |
*** Lmiller has joined #xdandroid | 19:01 | |
*** calon has quit IRC | 19:04 | |
stinebd | as does frameworks | 19:07 |
stinebd | hyc: https://gitorious.org/xdandroid/frameworks_base/merge_requests/1#comment_52952 | 19:13 |
*** mes has quit IRC | 19:28 | |
hyc | phone.apk? | 19:28 |
stinebd | the UI resources were rearranged in gingerbread, so your changes now go in different files | 19:29 |
stinebd | i've done the porting for the frameworks/base merge request for gingerbread | 19:29 |
stinebd | so that's good to go in my tree | 19:29 |
*** YellowGTO has quit IRC | 19:29 | |
hyc | cool | 19:29 |
stinebd | also i integrated a couple convention changes in there, like removing the brackets on the case statement and a whitespace error | 19:30 |
*** YellowGTO has joined #xdandroid | 19:32 | |
hyc | brackets in the wifstatetracker patch - just wanted to restrict the scope of the mText var | 19:32 |
stinebd | ? | 19:32 |
hyc | line 1189 String mText | 19:33 |
hyc | I don't like local variables dangling around | 19:33 |
stinebd | well how bout we do it differently then | 19:34 |
stinebd | Log.e(... + mRunState == RUN_STATE_STOPPED ? "ignoring." : "reloading." ) | 19:34 |
hyc | sure | 19:34 |
stinebd | does that work like that in java? | 19:35 |
hyc | I think I tried it and got an error :P | 19:35 |
hyc | didn't feel like looking up the right syntax after that | 19:35 |
stinebd | well that'll save us at least 7 bytes in ram so it's worth it | 19:35 |
hyc | you going to change that in your tree? or you want me to modify here and update the merge req? | 19:37 |
stinebd | i'll do it | 19:37 |
hyc | ok | 19:37 |
stinebd | i've already pulled the merge request locally anyway | 19:37 |
hyc | cool | 19:37 |
stinebd | now for the ril | 19:37 |
hyc | I haven't run gingerbread at all, which is why I never touched that part for phone.apk | 19:38 |
stinebd | which brings me to my next question | 19:38 |
stinebd | and kinda answers it | 19:38 |
stinebd | your ril merge requests are targeted for gingerbread but you've been doing it all in froyo i assume | 19:38 |
hyc | ah, but the ril ... I built it against the gingerbread libril | 19:39 |
hyc | I probably should have ifdef'd the differences. | 19:39 |
hyc | there's only 2, and one is commented out anyway - froyo has no network type for EvDO B | 19:39 |
stinebd | you're still going to be maintaining the ril stuff right? | 19:40 |
hyc | sure | 19:40 |
hyc | oh and the other difference is that froyo doesn't have the error code RIL_E_MODE_NOT_SUPPORTED | 19:41 |
stinebd | ok, then after i merge it i want to give you commit access | 19:41 |
stinebd | so you don't have to rely on me anymore | 19:41 |
hyc | cool. though hopefully it has settled down now and won't be changing much more | 19:41 |
hyc | are you on-board with the switch to using init to spawn pppd? | 19:42 |
stinebd | i'm on board with whatever you want to do | 19:42 |
hyc | ok. just that it required rootfs updates as well, while otherwise it's just a drop-in replacement | 19:43 |
hyc | but I think this approach is working really well now, with updated init | 19:45 |
stinebd | good | 19:47 |
arrrghhh | hyc, what are we going to do with CDMA? manually modifying crap isn't easy. i guess i could include the files for sprint users, and ask other cdma users to give me info... | 19:47 |
stinebd | manually modifying what? | 19:47 |
arrrghhh | eri.xml | 19:47 |
arrrghhh | and build.prop | 19:47 |
hyc | I think we delete the default_network line from system/build.prop | 19:47 |
arrrghhh | ok | 19:47 |
hyc | so that /data/local.prop can supply it | 19:47 |
hyc | my current init script now will automatically copy local.prop, eri.xml, and serialno | 19:48 |
stinebd | i'm a little behind here | 19:48 |
hyc | stinebd: for CDMA extra configuration is needed | 19:49 |
arrrghhh | stinebd, it's ofc for CDMA only | 19:49 |
hyc | and it's all operator-specific | 19:49 |
arrrghhh | it's amazing how well it worked in 'fake'; GSM mode TBH. | 19:49 |
hyc | so preloading it into the system.img isn't practical | 19:49 |
hyc | I think it's easiest to read the summary here http://highlandsun.com/hyc/FRX06+/ | 19:51 |
hyc | under "CDMA support" | 19:51 |
stinebd | can we make an app to do it? | 19:52 |
stinebd | who here knows broken java? | 19:52 |
hyc | heh... i hate java | 19:53 |
hyc | an app that sets this on the phone post-boot? | 19:53 |
hyc | I think it would still require a reboot for the change to take effect. Or maybe just killing and restarting the phone.apk | 19:53 |
stinebd | how many cdma providers do we have to worry about? | 19:54 |
hyc | I guess not many | 19:54 |
arrrghhh | well there's only two big ones in the states | 19:54 |
arrrghhh | but a bunch of small regional ones | 19:54 |
hyc | yes, the regionals, and the rebranded big ones | 19:54 |
arrrghhh | other than that... there's some cdma in venezula, canada and china from what i have gathered. | 19:54 |
hyc | like Boost / Sprint | 19:54 |
arrrghhh | or Virgin Mobile / Sprint :P | 19:55 |
stinebd | the app could have a set of eri.xml and values for those props, for each carrier, the user runs the app on first boot, it dumps that stuff as needed, then prompts the user to reboot and everything is okay for the life of data.img | 19:55 |
hyc | hmmm. ok | 19:56 |
stinebd | and then if they decide to stop using sprint after verizon acquires it, they could run it again and select verizon | 19:56 |
hyc | lol | 19:56 |
arrrghhh | heh | 19:56 |
hyc | well, we can use this table for the database http://en.wikipedia.org/wiki/Mobile_Network_Code | 19:57 |
rpierce99 | we really don't need to do all that for the carrier name | 19:57 |
stinebd | as it is, the props are needed for working data and the eri is purely for cosmetic and data roaming control purposes? | 19:57 |
rpierce99 | i say eri.xml just has "XDAndroid" | 19:57 |
hyc | eri.xml is purely cosmetic | 19:58 |
hyc | roaming will function correctly regardless | 19:58 |
stinebd | but can you still disable roaming? | 19:58 |
hyc | yes | 19:58 |
hyc | the numeric operator ID property is what controls north americal dialing, though | 19:58 |
stinebd | data | 19:58 |
rpierce99 | eri.xml just changes the text label on the lock screen and pulldown | 19:58 |
stinebd | ok | 19:59 |
hyc | and they still have to set the default_network to even get CDMA mode enabled | 19:59 |
hyc | unless you just want to enable worldphone by default and let everyone sort it out for themselves ;) | 19:59 |
stinebd | that would be nice | 19:59 |
stinebd | at least that way it's guiable right? | 20:00 |
stinebd | without writing crapps ourselves | 20:00 |
hyc | true, that gui already exists | 20:00 |
stinebd | i'll have to play around with the ril on my rhod to see how the roaming indicator looks | 20:01 |
hyc | I could also patch the ril; if it boots up on a worldphone and finds no SIM card, just switch to CDMA | 20:01 |
stinebd | that would rock | 20:01 |
stinebd | personally, i'd say that's the ideal behavior | 20:01 |
stinebd | but i've been lobbying for that for a while | 20:01 |
hyc | but if the SIM card *is* there ... follow the android setting | 20:02 |
stinebd | yeah | 20:02 |
hyc | if I owned a worldphone, I would leave the SIM in all the time | 20:02 |
stinebd | is it complicated? | 20:02 |
hyc | no, at this point I think I know how to do it pretty simply | 20:02 |
arrrghhh | hyc, that does sound like the best option | 20:02 |
arrrghhh | plus, if it detects a worldphone with a SIM card, you would be able to flip back to CDMA using the UI right? | 20:03 |
hyc | right | 20:03 |
arrrghhh | done. | 20:03 |
hyc | but that means we have to decide to enable that UI. have you guys tried the worldphone UI yet? | 20:03 |
arrrghhh | i did | 20:03 |
hyc | ok | 20:03 |
arrrghhh | and on 'your' build i just have to set that build.prop value right? | 20:04 |
hyc | i think it's inconvenient to leave it enabled, on a single-mode phone | 20:04 |
hyc | yeah | 20:04 |
arrrghhh | i can try it again if you want | 20:04 |
stinebd | i've tried it, the inconveniency isn't a huge problem | 20:04 |
hyc | ok | 20:04 |
hyc | Hmmm. | 20:05 |
hyc | I should have moved that property. the ril can just set it. | 20:05 |
hyc | if the current phone is a world phone | 20:06 |
hyc | ril should set the prop | 20:06 |
hyc | yeah, going to rename that prop from ro.telephony.world_phone to ro.ril.world_phone. Then ril has perms to set it itself | 20:13 |
hyc | so no need to put it in a prop file | 20:13 |
hyc | any of you running my build right now? | 20:20 |
hyc | what does "AT+SIMTYPE" return for your phone? | 20:20 |
hyc | should return +SIMTYPE: 0 if no SIM installed | 20:20 |
hyc | in adb shell : radiooptions 11 "AT+SIMTYPE" | 20:21 |
hyc | the output only goes to logcat -b radio | 20:21 |
hyc | I really oughta patch it to return the output to the caller... | 20:21 |
stinebd | sorry, still doing other stuff | 20:29 |
*** rpierce99_ has joined #xdandroid | 20:43 | |
*** rpierce99 has quit IRC | 20:44 | |
*** rpierce99_ is now known as rpierce99 | 20:44 | |
stinebd | looks like they finally fixed the rtsp issue in gingerbread | 20:52 |
stinebd | with the upcoming 2.3.4 release | 20:52 |
*** EdLin_ is now known as EdLin | 20:54 | |
stinebd | god damn kids | 21:04 |
*** hardwalker has joined #xdandroid | 21:05 | |
*** YellowGTO has quit IRC | 21:06 | |
*** YellowGTO has joined #xdandroid | 21:06 | |
arrrghhh | get off mah lawn! | 21:08 |
arrrghhh | hyc, D/AT ( 1369): AT< +SIMTYPE: 0 | 21:10 |
*** GPFerror has quit IRC | 21:11 | |
hyc | cool | 21:11 |
stinebd | i bet that's tiad | 21:11 |
arrrghhh | heh | 21:11 |
stinebd | only about 4 weeks left on this build | 21:15 |
arrrghhh | lol | 21:15 |
arrrghhh | compiling on your 286? | 21:16 |
stinebd | more like TI-89 | 21:16 |
arrrghhh | nice | 21:16 |
stinebd | bzo is here! | 21:16 |
bzo | ha, only lurking for like 8 hours now :p | 21:17 |
stinebd | done with that thing yet? | 21:17 |
bzo | what thing? | 21:17 |
stinebd | libgps | 21:18 |
* stinebd runs | 21:18 | |
bzo | lately I've had like 2 jobs :( | 21:18 |
stinebd | still got you beat there | 21:19 |
bzo | don't think I've even booted android in the last month | 21:19 |
stinebd | you got me beat there | 21:19 |
stinebd | i've booted android on my n1 at least | 21:20 |
bzo | well, hopefully next month will be better | 21:20 |
bzo | I'm ready for this one to be done | 21:20 |
stinebd | only the weekend is left | 21:20 |
stinebd | hyc: is ril initpppd branch ready for a merge request? | 21:32 |
hyc | ok, http://highlandsun.com/hyc/ril2-test.zip | 21:45 |
hyc | oh, didn't see your msg before I typed | 21:45 |
hyc | initpppd is in working order already, but I'm just about to commit the worldphone detection | 21:46 |
hyc | assuming that one of you can test it and tell me it's OK | 21:46 |
rpierce99 | i'd test it but my main build lost it's data.img yesterday and I haven't gotten a chance to fix it | 21:46 |
stinebd | i can test it | 21:46 |
hyc | ok. really just need to get the radio log from bootup. | 21:47 |
rpierce99 | oh, well it gets that far | 21:47 |
hyc | it should say "Running on a world phone" first and then it should later say | 21:47 |
rpierce99 | just a lot of FCs | 21:47 |
hyc | "World phone has no SIM card installed" | 21:47 |
stinebd | but mine does have a sim installed ;) | 21:47 |
hyc | of course, if you have one, then the 2nd msgs should not appear ;) | 21:48 |
hyc | and after that point, getprop should show "ro.ril.world_phone = true" | 21:48 |
hyc | if your SIM is present | 21:48 |
hyc | if SIM is absent, it should treat you as a pure CDMA phone | 21:48 |
arrrghhh | nice | 21:49 |
hyc | *if* everything goes as expected :P | 21:50 |
stinebd | has any more work been done on the touchscreen calibration in nand? | 21:51 |
stinebd | by which i mean the factory values | 21:52 |
hyc | dunno. now that we can read the factory cal from mtd, seems it should all just be silently done by the ts driver | 21:52 |
arrrghhh | there was some discussion on the ML, not sure if anything came out of it. | 21:52 |
arrrghhh | that would be nice | 21:52 |
rpierce99 | 04-28 15:51:36.370 D/RIL ( 1341): Running on a world phone | 21:53 |
rpierce99 | 04-28 15:51:38.840 D/RIL ( 1341): World phone has no SIM card installed | 21:53 |
hyc | rpierce99: so that's correct? you have no SIM? | 21:54 |
rpierce99 | correct | 21:54 |
hyc | cool | 21:54 |
arrrghhh | stinebd does have a SIM, so he can test that angle | 21:54 |
stinebd | i can do what?! | 21:54 |
arrrghhh | get to it | 21:55 |
* arrrghhh whips stinebd | 21:55 | |
hyc | check the radio log from booting the test ril | 21:55 |
hyc | make sure that the ro.ril.world_phone prop is set to true if your SIM is installed | 21:55 |
rpierce99 | hyc: what do you see in the logs when you need to run fix_permissions | 21:56 |
hyc | usually database open failures | 21:56 |
stinebd | [ro.ril.world_phone]: [true] | 21:56 |
stinebd | bam | 21:56 |
hyc | excellent.... | 21:56 |
hyc | OK then, we can do this bit automatically | 21:56 |
hyc | will commit and push | 21:56 |
stinebd | SIMTYPE 2 right? | 21:57 |
hyc | I think that varies. mine is 3 | 21:57 |
stinebd | ah so | 21:57 |
stinebd | non-zero is your check? | 21:57 |
hyc | yep | 21:57 |
stinebd | i wonder what the types are | 21:58 |
*** GPFerror has joined #xdandroid | 21:58 | |
hyc | not sure but I recall mention of 3G SIMs specifically | 21:59 |
hyc | so apparently SIM cards were tied to GSM tech level | 21:59 |
stinebd | i think these phones should all require 3g sims | 21:59 |
hyc | dunno | 21:59 |
stinebd | ril is spamming like mad | 22:00 |
hyc | ok, that commit is pushed | 22:00 |
hyc | spamming with what? | 22:00 |
stinebd | registration attempts | 22:00 |
stinebd | maybe it's in cdma mode | 22:00 |
stinebd | can't really do anything with the phone because of it | 22:01 |
hyc | mmm. bummer. were you saving the radio log? paste it up | 22:01 |
stinebd | i can give you a portion | 22:02 |
stinebd | but it's all the same stuff anyway | 22:02 |
hyc | ok | 22:02 |
stinebd | 90KB after like 2 seconds lol | 22:02 |
stinebd | http://maduin.southcape.org/~bryan/android/rilspam.log | 22:03 |
hyc | CME ERROR 30 means no signal, IIRC | 22:04 |
stinebd | in reality, signal is no issue here | 22:04 |
stinebd | got a tower right across the street actually | 22:04 |
hyc | that's really bizarre, COPS returns failure while CREG says it's registered | 22:05 |
hyc | yeah, CME ERROR 30 is "No network service" | 22:06 |
hyc | so why is CREG returning that it's registered... | 22:06 |
stinebd | dunno | 22:06 |
stinebd | i'll reboot and give you a full log | 22:06 |
hyc | ok | 22:06 |
rpierce99 | yay, fix_permissions ftw | 22:08 |
*** TheSeven has quit IRC | 22:09 | |
stinebd | i don't think that'll fix it | 22:09 |
*** [7] has joined #xdandroid | 22:09 | |
rpierce99 | no it fixed mine | 22:09 |
rpierce99 | not yours | 22:09 |
hyc | I've also pushed the Phone.apk change, so it also uses ro.ril.world_phone instead of ro.telephony.world_phone | 22:11 |
arrrghhh | Oo | 22:14 |
arrrghhh | reboot within Android | 22:14 |
arrrghhh | haven't seen that in a while. at least not when i'm not installing apps | 22:14 |
hyc | fun... what was it doing? | 22:14 |
arrrghhh | well i guess i was installing an app, the amazon app store was updating | 22:15 |
arrrghhh | a phone call came in | 22:15 |
arrrghhh | phone call was fine, about 2 mins | 22:15 |
arrrghhh | i hit end call... it hung... i hit end call again... bootani | 22:15 |
stinebd | ok | 22:15 |
arrrghhh | almost always reboots with no service too. | 22:16 |
stinebd | hyc: i got a full log to send you but switching network mode fixes it | 22:16 |
stinebd | 0 = global kills it, while gsm/wcdma PRL is fine | 22:16 |
hyc | oh? it's happy with GSM-only, but not with global? | 22:17 |
stinebd | well i guess it doesn't "fix" it | 22:17 |
stinebd | but the loop goes away | 22:17 |
hyc | hmmmm, I get it. I always wondered how this was going to work :P | 22:18 |
stinebd | does network_mode persist across boots? | 22:18 |
hyc | I don't recall | 22:18 |
hyc | probably | 22:18 |
stinebd | let's find out then | 22:18 |
hyc | there's a DB setting for it | 22:18 |
hyc | in global mode, we need to know if it registered as GSM or CDMA | 22:19 |
hyc | I think in your case, it registered as CDMA | 22:19 |
stinebd | hyc: http://maduin.southcape.org/~bryan/android/hyc-radio-global.log | 22:19 |
stinebd | looks cdmaish | 22:19 |
stinebd | i don't suppose a certain registration function would fail in the radio firmware with a sim installed? | 22:20 |
hyc | nah, I don't think it's that | 22:20 |
hyc | I think simply the GSM AT+COPS command doesn't work when you're in CDMA | 22:20 |
hyc | yeh, definitely looks like your phone is in CDMA. strange, because CGAATT=2,2,0 is supposed to be GSM/WCDMA | 22:24 |
hyc | not CDMA | 22:24 |
stinebd | goes into the same loop on a reboot with network_mode=2 | 22:26 |
stinebd | so yes network_mode does persist | 22:26 |
hyc | ok | 22:26 |
stinebd | http://maduin.southcape.org/~bryan/android/hyc-radio-gsmwcdmaauto.log | 22:26 |
hyc | hmm. the ril doesn'tread the network_mode setting | 22:28 |
hyc | it just relies on the Phone app to send the Set_Preferred_Type request | 22:29 |
stinebd | yeah | 22:30 |
stinebd | that would be in RILJ i assume | 22:30 |
hyc | yeah | 22:31 |
hyc | looks like I'm going to have to detect this error and straighten things out | 22:31 |
hyc | stinebd: what happens if you leave winmo in airplane mode before booting | 22:43 |
hyc | before starting android that is | 22:43 |
stinebd | mass hysteria probably | 22:44 |
arrrghhh | lol | 22:44 |
*** LilMiSsY has joined #xdandroid | 22:47 | |
*** LilMiSsY has left #xdandroid | 22:49 | |
stinebd | hyc: looks pretty much the same | 22:49 |
hyc | ok, 1 sec | 22:50 |
hyc | new test binary coming up | 22:50 |
hyc | same url | 22:50 |
hyc | http://highlandsun.com/hyc/ril2-test.zip | 22:50 |
hyc | this one should tell Android it's in CDMA mode when this error happens | 22:51 |
hyc | seems stupid that setting the mode isn't one of the first commands the phone issues. wtf... | 22:51 |
hyc | how do they expect this stuff to work at all... | 22:51 |
stinebd | COPS always ruin it for everybody | 22:53 |
stinebd | went into the same loop | 22:54 |
hyc | hmmm. let's see the log | 22:55 |
stinebd | http://maduin.southcape.org/~bryan/android/hyc-radio-55a2412.log | 22:56 |
hyc | wasn't detected as a worldphone this time around | 22:58 |
hyc | got confusing garbage at the beginning, leftover chatter from winmo | 22:58 |
stinebd | trying again then | 22:58 |
hyc | try it again with winmo in airplane mode | 22:59 |
stinebd | D/RIL ( 1299): Running on a banana phone | 23:04 |
hyc | Hmph | 23:04 |
hyc | BanaPCJr9000 | 23:04 |
hyc | BananaJrPC9000 ftw | 23:04 |
hyc | so what's it doing now? | 23:05 |
stinebd | loopin | 23:05 |
hyc | grumble... | 23:05 |
stinebd | same log address, just reload | 23:05 |
hyc | ok | 23:05 |
*** tamsuiboy has joined #xdandroid | 23:06 | |
hyc | then the check I put in isn't in the right place | 23:07 |
*** tamsuiboy has quit IRC | 23:08 | |
hyc | ok. new binary, same url | 23:11 |
*** tamsuiboy has joined #xdandroid | 23:11 | |
hyc | stinebd: got it? | 23:13 |
stinebd | got it | 23:13 |
*** YellowGTO has quit IRC | 23:14 | |
*** YellowGTO has joined #xdandroid | 23:16 | |
stinebd | interesting | 23:19 |
hyc | new behavior? | 23:19 |
stinebd | yeah | 23:19 |
stinebd | new log up | 23:19 |
stinebd | i think you'll enjoy it | 23:20 |
hyc | uh oh... ;) | 23:20 |
stinebd | it eventually kicks itself into cdma mode | 23:20 |
stinebd | and i went into *#*#info#*#* and phone app crashed | 23:20 |
stinebd | E/AndroidRuntime( 1695): at com.android.internal.telephony.gsm.GSMPhone.getCellLocation(GSMPhone.java:261) | 23:23 |
stinebd | E/AndroidRuntime( 1695): at com.android.internal.telephony.DefaultPhoneNotifier.notifyCellLocation(DefaultPhoneNotifier.java:121) | 23:23 |
stinebd | E/AndroidRuntime( 1695): at com.android.internal.telephony.gsm.GSMPhone.notifyLocationChanged(GSMPhone.java:398) | 23:23 |
stinebd | for the phone crash | 23:23 |
stinebd | NPE | 23:23 |
hyc | fun | 23:23 |
hyc | oh, kinda bizarre - you have both GSM and CDMA running concurrently | 23:24 |
hyc | usually it destroys the GSMphone first | 23:24 |
stinebd | told you you'd enjoy it | 23:24 |
hyc | yeah, pretty kewl.... | 23:26 |
hyc | hm, command 0067 it sets the preferred network type | 23:27 |
hyc | a bit late... | 23:27 |
hyc | hm, Closing command socket. I think the ril-daemon died and restarted there | 23:28 |
hyc | and after that it's correctly in GSM mode | 23:30 |
hyc | just looks like there's a long lag from setting the mode to the GSMphone or CDMAphone taking over | 23:33 |
stinebd | it doesn't do anything in gsm mode though | 23:34 |
hyc | eh? looks like it was trying | 23:34 |
stinebd | and in global mode it goes to cdma | 23:34 |
stinebd | D/GSM ( 1716): [GsmDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE gprsState=1 sim=false UMTS=false phoneState=IDLE isDataAllowed=true dataEnabled=true roaming=false dataOnRoamingEnable=true ps restricted=false desiredPowerState=true MasterDataEnabled=true | 23:34 |
stinebd | D/RILJ ( 1716): [0007]> RADIO_POWER | 23:34 |
stinebd | E/GSM ( 1716): Wrong network type: 0 | 23:34 |
stinebd | that's pretty much all you get in gsm mode | 23:35 |
hyc | is your SIM valid? | 23:36 |
stinebd | yeah | 23:36 |
hyc | I see +CGREG: responses in the log, so it's been trying to register as GSM | 23:36 |
hyc | in CDMA mode it only sends _CREG: | 23:37 |
hyc | +CREG: | 23:37 |
stinebd | maybe it's sim locked | 23:47 |
hyc | does it work in winmo? | 23:48 |
stinebd | apparently not | 23:48 |
hyc | sim locked should ask you for the unlock code | 23:48 |
hyc | what network is the sim? | 23:48 |
stinebd | att | 23:48 |
stinebd | i don't mean sim pin locked | 23:49 |
stinebd | i mean sim carrier locked | 23:49 |
hyc | oh, if you haven't done the unlock right, us networks are barred | 23:49 |
stinebd | ugh | 23:49 |
stinebd | and surely the only way to do that is via moneys | 23:49 |
hyc | the htc-unlocks crew will do it for free for xda developers | 23:50 |
*** tamsuiboy has quit IRC | 23:55 | |
*** tamsuiboy has joined #xdandroid | 23:57 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!