Thursday, 2011-04-28

*** TheSeven has quit IRC01:51
*** TheSeven has joined #xdandroid01:51
*** kalemas has joined #xdandroid03:39
*** Dweezahr has joined #xdandroid03:50
*** diego_kynetics has joined #xdandroid04:05
*** kalemas has left #xdandroid05:11
*** kalemas has joined #xdandroid05:11
*** hardwalker has quit IRC05:20
*** hardwalker has joined #xdandroid05:22
*** YellowGTO has quit IRC05:31
*** balans has quit IRC05:34
*** balans has joined #xdandroid05:35
*** YellowGTO has joined #xdandroid05:38
*** hardwalker has quit IRC06:07
*** YellowGTO has quit IRC06:08
*** YellowGTO has joined #xdandroid06:08
*** calon has joined #xdandroid06:13
*** diego has joined #xdandroid06:34
*** diego is now known as Guest8617806:35
*** diego_kynetics has quit IRC06:35
*** Guest86178 has quit IRC06:44
*** diego_kynetics has joined #xdandroid06:44
*** kofrad has left #xdandroid06:57
*** kofrad has joined #xdandroid06:57
*** YellowGTO has quit IRC07:13
*** YellowGTO has joined #xdandroid07:14
*** kwoodyusa has joined #xdandroid08:23
*** helicopter88 has joined #xdandroid08:34
*** drakaz has quit IRC08:35
helicopter88has someone a diamond for me? i'm missing my diamond :(08:36
*** drakaz has joined #xdandroid08:36
*** xawen1 has quit IRC08:47
*** xawen1 has joined #xdandroid08:47
*** EdLin_ has joined #xdandroid08:57
*** diego has joined #xdandroid08:57
*** diego is now known as Guest2772408:57
*** diego_kynetics has quit IRC08:59
*** CazH has quit IRC08:59
*** EdLin has quit IRC08:59
*** CazH has joined #xdandroid09:06
*** calon has joined #xdandroid09:10
*** calon has quit IRC09:11
*** kalemas has left #xdandroid09:24
*** kalemas has joined #xdandroid09:24
*** kalemas has left #xdandroid09:26
*** YellowGTO has quit IRC09:37
*** drakaz has quit IRC09:40
*** YellowGTO has joined #xdandroid09:41
*** drakaz has joined #xdandroid09:41
*** F22 has quit IRC10:06
*** YellowGTO has quit IRC10:13
*** programmer8922 has quit IRC10:13
*** YellowGTO has joined #xdandroid10:13
*** F22 has joined #xdandroid10:20
*** helicopter88 has quit IRC10:22
*** JesusFreak316 has joined #xdandroid10:31
*** F22 has quit IRC10:40
*** F22 has joined #xdandroid11:02
*** Hella has joined #xdandroid11:03
*** Hella has quit IRC11:07
*** F22 has quit IRC11:31
*** F22 has joined #xdandroid11:33
*** programmer8922 has joined #xdandroid11:35
*** JesusFreak316 has quit IRC11:41
*** programmer8922 has quit IRC12:02
*** programmer8922 has joined #xdandroid12:02
leobaillard?12:05
*** programmer8922 has quit IRC12:06
*** |Jeroen| has joined #xdandroid12:12
*** ryannathans has quit IRC12:20
*** ryannathans has joined #xdandroid12:24
*** bzo has joined #xdandroid12:24
*** hey has joined #xdandroid12:50
heyhi12:50
heyjemand da?12:50
*** hey has left #xdandroid12:53
*** |Jeroen| has quit IRC13:15
*** ryannathans has quit IRC13:25
*** mes has quit IRC14:04
*** kwoodyusa has quit IRC14:16
*** ryannathans has joined #xdandroid14:34
*** arrrghhh has joined #xdandroid14:35
*** Guest27724 has quit IRC14:39
arrrghhhhyc, 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 #xdandroid14:50
*** programmer8922 has joined #xdandroid15:15
hycarrrghhh: yeah, every little bit helps.15:34
stinebddefinitely placebo15:34
arrrghhhlol15:34
arrrghhhstinebd, how goes the merge requests15:34
stinebddon't know15:34
stinebdgonna wrap them into a system image and try them later15:35
stinebdsince you're not giving me anything :P15:35
hycoh boy...15:35
arrrghhhheh15:35
arrrghhhwhat else you want mang15:35
arrrghhhi thought you said they all look good15:35
arrrghhhminus the one i tested15:35
arrrghhhand the other one with wifi i can't test15:35
stinebdall but frameworks/base15:35
arrrghhhi tested that15:35
arrrghhhand commented on it15:35
stinebdcommented where?15:36
stinebdgitorious?15:36
arrrghhhon the merge request?15:36
arrrghhhyea15:36
stinebdwell fuck15:36
*** Yusuke14 has quit IRC15:36
stinebdmaybe i should go on gitorious occasionally then15:36
arrrghhhsorry, i was supposed to email you.15:36
arrrghhhthought i did.15:36
arrrghhhevidently not.  d'oh.15:36
stinebdgitorious probably emailed me to the same effect anyway15:36
stinebdso it's my fault not yours15:36
arrrghhhnp15:37
stinebdalex has a merge request in for the gps driver, have you heard anything?15:37
arrrghhhi'm just excited about a new build.  want to help out however i can.15:37
arrrghhhi just saw that today in the mailing list15:37
arrrghhhother than that, nothing.15:37
stinebdok15:37
stinebdi briefly looked it over and it doesn't seem to do anything about gingerbread workage15:38
arrrghhhhrm15:38
stinebdbut hopefully the LOGD stuff will help figure out where the issues are15:38
stinebdhe changed a bunch of printf() calls to LOG*()15:39
arrrghhhah, that's the part about changing the code to output to logcat?15:39
stinebdyeah15:39
arrrghhhschweet15:40
arrrghhhoh well, i should go clean up mah truck.  bbl.15:41
hyci'm holding off on more merge requests until the current ones are resolved15:46
*** programmer8922 has quit IRC15:47
hycbut at this point my init looks very different..15:47
*** programmer8922 has joined #xdandroid15:47
*** programmer8922 has quit IRC15:51
hycand i'm not going to request a merge for my kernel patch.  better to get onto .35 than keep bandaging .2715:59
XirXeshow is .35 working these days?16:12
stinebdbad16:12
XirXesbummer16:12
hycyeah, won't boot successfully for me16:14
hycjonpry said he had it booting ok a while ago16:14
hycAlex says his tree is better16:15
*** mes has joined #xdandroid16:15
stinebdi heard cotulla's is the best16:15
hyclol16:15
hycsuch a mess.16:15
XirXesi saw your email about unmounting /data on shutdown hyc. ive never once had my /data corrupt16:17
meshyc, to use your new data mount practise, I need to rebuild the system.img, yes? and from your tree16:18
hycreally? it seems to happen fairly often to various users16:18
hycjudging from forum traffic16:18
stinebdi've never seen first-hand catastrophic loss in data.img either16:19
mesI have had it happen, data corrupt, at least once a month16:19
XirXesive always thought it was pretty wierd that ive never seen it. ive been fairly lucky on sd card stuff.16:19
hycmes: new system, new rootfs16:19
XirXesi wasnt affected by the clocks thing either16:20
hycstinebd: what do you consider catastrophic? app fcs are pretty common16:20
messhit, I can clone your tree but the new linker in debian won't link it16:20
stinebdhyc: i've never seen that16:20
hycdue to db journal issues16:20
hychm, you must be very lucky ;)16:21
XirXesme either. i see force closes like never. and ive had the same install on my sd for at least 3 months now16:21
hycthe fix_permissions script usually took care of it for me.16:21
stinebddb journal issues would be due to android not closing the files, not from it umounting, no?16:21
hycsame difference tho, android doesn't kill the apps cleanly16:22
XirXesand my data.img is probably from January.16:22
stinebdkill user apps?16:22
hycriht16:22
stinebdit shouldn't, they run in a dalvik instance16:23
hycwith my shutdown service, everything gets a sigterm16:23
stinebdby your logic, this should be happening on retail devices too16:23
hycyep. it happens on the g116:24
stinebdwith a google system?16:24
hycwhy do you think cyan wrote fix_permissions in the first place?16:24
stinebdcyan wrote that because of his busted ass apps2sd (and various other) hack16:24
XirXesapps2sd was always such a dirty hack16:25
hychmm. app2sd only moved the apks, not the data16:25
hycso that doesn't explain why data got corrupted16:25
stinebdvarious other should then16:26
hycand you're going to want that hack once you get on nand.16:27
stinebdwhy?16:27
stinebdgoogle's hack works better16:27
hyc256M for /data won't go far.16:27
hycgoogle's hack is a memory hog16:27
hyca dedicated fs and mount point for every app?16:28
hyceach in their own individual loop mount? blech.16:28
XirXesi can agree with that. googs hack is the biggest reason why my g2 is slow at boot time16:28
XirXesi didnt know that about googs hack. but i just ran df on my g2 and there they are16:30
hycmoronic16:30
stinebdit uses dmcrypt volumes to protect paid apps16:30
meshyc, is there a manifest that will pull your whole xdandroid tree?16:30
hycmes: nope16:31
XirXesi really dont think thats too bad of a way to do that16:31
XirXesi like it better than an ext3 partition on my sd16:31
hycmebbe i should make one. would prefer that it all just getd merged upstream tho16:32
stinebdwell then maybe i'll just ignore it to spite you baby16:32
hycpaid apps may be a different story16:32
hycstinebd:  :p16:32
hycthen i guess i better join tiad8.com. or start my own forum in protest.16:33
stinebdhycdroid.com16:33
stinebdi'd join16:33
hyclol16:33
XirXesim 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
hyci was never a fan of ext3. the g1 guys are using ext4 now. silly, the journaling wears out sd cards faster16:35
hyci stick with ext2...16:35
XirXesagreed16:36
mesyou can stop the journal if you want16:36
hycfor ur phones google's is the wrong tradeoff. we have not enough ram, and up to 32gb of sd.16:37
hycour phones*16:37
hycwasting space on sd just isn't an issue. ram is precious tho.16:37
XirXesus tp2 users have alot more ram than the crippled out the gate g116:38
hycstill, more is always better. and you already said your g2 is slow.16:38
XirXesat boot16:38
XirXesafter its made those mount points its very fast16:39
hyceh, ok.16:39
hycstill not a trade i would make. you pay in memory just for having those apps installed.16:40
hyceven if you aren't running them at the moment.16:40
XirXesits a pretty negligable amount of memory16:41
hycon a g2, sure16:41
*** YellowGTO has quit IRC16:42
XirXes256 mb is alot. my tp2 has like 90 mb of ram free when its not doing anything16:42
stinebdwtf mine has like 2016:43
hycwow. i have like 5mb free16:43
stinebdcrazy dalvik16:43
XirXesits been a really long time since i checked, how are you checking16:43
hycand i've turned off a bunch of autostart apps. otherwise it'd be totally bogged down16:44
hyccmdline free16:44
stinebdapps settings16:44
hyclemme see what that says here... 40m16:45
XirXesmines been on for a few days. 3200 k free16:46
hychard to believe. but even so, better to have lots of ram available for fs cache16:46
hycor for the occasional piggish app16:47
stinebdsuch as acore16:47
XirXeshow much ram do you think your saving by not having additional loop devices?16:47
stinebd128k16:48
hyclol16:48
XirXesi guess i just havent been a linux guy long enough to fret about that much :)16:49
*** YellowGTO has joined #xdandroid16:51
hyci'm going to guess that your shutdown time slows down too16:52
XirXestask killer says i have 40M free. i assume that means that davlik pages off memory for itself16:52
hycif it actually bothers to unmount everything16:52
stinebddoubtful16:52
hycactually i think it does, since those mounts are handled by vold16:53
XirXesi dont really shutdown that often.16:53
stinebdthey're read-only16:53
hycmmm. ok, good point16:53
hyci try not to shutdown often ;)  usually don't, unless i'm testing something new16:54
stinebdi always shut down otherwise the united states of google government will track my every move according to fox news16:55
XirXesthats usually the cause of my shutdowns. tho my tp2 has been dying on the charger as of late cause i never unplug it16:55
hycwell, google certainly tries ... i have their checkin disabled using droidwall16:56
hycbut i still use gmaps a lot16:57
XirXesstine, why doesnt froyo on the tp2 get the updated market?16:57
*** calon has joined #xdandroid16:57
*** helicopter88 has quit IRC16:58
stinebdgood question17:00
stinebdnext time use my complete nickname so i get highlighted17:00
XirXesmy bad17:07
*** calon has quit IRC17:18
hycstinebd: I lied. New merge request. It's a simple one. https://gitorious.org/xdandroid/initramfs/merge_requests/117:19
arrrghhhinitramfs, that thing hasn't changed in almost a year17:20
hycso it was about due ;)17:20
arrrghhhah, your sdcard/card0 name change.17:20
hycyeah, no big deal17:21
arrrghhhyea if i can figure out the commit, surely.17:21
arrrghhh:P17:21
hyclol17:22
arrrghhhso how did muzling or whatever fix your phone.apk?17:26
arrrghhhi saw he posted a new one, and he used some apktools to fix it... but what did he do...?17:26
hyche took the phone.apk, decompiled it, and recompiled it17:27
hycapparently some other parts of it needed to be matched up to the framework,jar.17:27
hycso even without editing any of the files, decompile/recompile fixed it17:27
arrrghhhweird17:28
stinebddont leave me arrrghhh!17:40
arrrghhhdowhat17:40
stinebdoh you're still here17:40
arrrghhhlol17:40
stinebdi saw the little clock by your name and thought you left17:40
arrrghhhi'm in and out.  need to get back to cleanin.17:40
stinebdehe17:42
stinebdthey added a cherrypick command to repo17:42
stinebdi wonder what it does17:43
hycoh yeah, saw that repo got updated17:43
hycdidn't bother to look17:43
*** calon has joined #xdandroid17:49
stinebdoh man repo list is nice17:50
stinebdgreatly simplifies my maintainer scripts17:50
stinebdouch18:20
stinebdgoogle apps for domains is now limiting free accounts to 10 users18:20
stinebdand by now i mean in may18:24
hyccool. in their quest for global domination they are limiting how much of the globe they can dominate at once.18:25
stinebdat least they're grandfathering us18:28
*** rpierce99 has joined #xdandroid18:48
stinebdhyc: your phone merge request will have to be forward ported for gingerbread18:53
*** Lmiller has joined #xdandroid19:01
*** calon has quit IRC19:04
stinebdas does frameworks19:07
stinebdhyc: https://gitorious.org/xdandroid/frameworks_base/merge_requests/1#comment_5295219:13
*** mes has quit IRC19:28
hycphone.apk?19:28
stinebdthe UI resources were rearranged in gingerbread, so your changes now go in different files19:29
stinebdi've done the porting for the frameworks/base merge request for gingerbread19:29
stinebdso that's good to go in my tree19:29
*** YellowGTO has quit IRC19:29
hyccool19:29
stinebdalso i integrated a couple convention changes in there, like removing the brackets on the case statement and a whitespace error19:30
*** YellowGTO has joined #xdandroid19:32
hycbrackets in the wifstatetracker patch - just wanted to restrict the scope of the mText var19:32
stinebd?19:32
hycline 1189 String mText19:33
hycI don't like local variables dangling around19:33
stinebdwell how bout we do it differently then19:34
stinebdLog.e(... + mRunState == RUN_STATE_STOPPED ? "ignoring." : "reloading." )19:34
hycsure19:34
stinebddoes that work like that in java?19:35
hycI think I tried it and got an error :P19:35
hycdidn't feel like looking up the right syntax after that19:35
stinebdwell that'll save us at least 7 bytes in ram so it's worth it19:35
hycyou going to change that in your tree? or you want me to modify here and update the merge req?19:37
stinebdi'll do it19:37
hycok19:37
stinebdi've already pulled the merge request locally anyway19:37
hyccool19:37
stinebdnow for the ril19:37
hycI haven't run gingerbread at all, which is why I never touched that part for phone.apk19:38
stinebdwhich brings me to my next question19:38
stinebdand kinda answers it19:38
stinebdyour ril merge requests are targeted for gingerbread but you've been doing it all in froyo i assume19:38
hycah, but the ril ... I built it against the gingerbread libril19:39
hycI probably should have ifdef'd the differences.19:39
hycthere's only 2, and one is commented out anyway - froyo has no network type for EvDO B19:39
stinebdyou're still going to be maintaining the ril stuff right?19:40
hycsure19:40
hycoh and the other difference is that froyo doesn't have the error code RIL_E_MODE_NOT_SUPPORTED19:41
stinebdok, then after i merge it i want to give you commit access19:41
stinebdso you don't have to rely on me anymore19:41
hyccool. though hopefully it has settled down now and won't be changing much more19:41
hycare you on-board with the switch to using init to spawn pppd?19:42
stinebdi'm on board with whatever you want to do19:42
hycok. just that it required rootfs updates as well, while otherwise it's just a drop-in replacement19:43
hycbut I think this approach is working really well now, with updated init19:45
stinebdgood19:47
arrrghhhhyc, 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
stinebdmanually modifying what?19:47
arrrghhheri.xml19:47
arrrghhhand build.prop19:47
hycI think we delete the default_network line from system/build.prop19:47
arrrghhhok19:47
hycso that /data/local.prop can supply it19:47
hycmy current init script now will automatically copy local.prop, eri.xml, and serialno19:48
stinebdi'm a little behind here19:48
hycstinebd: for CDMA extra configuration is needed19:49
arrrghhhstinebd, it's ofc for CDMA only19:49
hycand it's all operator-specific19:49
arrrghhhit's amazing how well it worked in 'fake'; GSM mode TBH.19:49
hycso preloading it into the system.img isn't practical19:49
hycI think it's easiest to read the summary here http://highlandsun.com/hyc/FRX06+/19:51
hycunder "CDMA support"19:51
stinebdcan we make an app to do it?19:52
stinebdwho here knows broken java?19:52
hycheh... i hate java19:53
hycan app that sets this on the phone post-boot?19:53
hycI think it would still require a reboot for the change to take effect. Or maybe just killing and restarting the phone.apk19:53
stinebdhow many cdma providers do we have to worry about?19:54
hycI guess not many19:54
arrrghhhwell there's only two big ones in the states19:54
arrrghhhbut a bunch of small regional ones19:54
hycyes, the regionals, and the rebranded big ones19:54
arrrghhhother than that... there's some cdma in venezula, canada and china from what i have gathered.19:54
hyclike Boost / Sprint19:54
arrrghhhor Virgin Mobile / Sprint :P19:55
stinebdthe 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.img19:55
hychmmm. ok19:56
stinebdand then if they decide to stop using sprint after verizon acquires it, they could run it again and select verizon19:56
hyclol19:56
arrrghhhheh19:56
hycwell, we can use this table for the database http://en.wikipedia.org/wiki/Mobile_Network_Code19:57
rpierce99we really don't need to do all that for the carrier name19:57
stinebdas it is, the props are needed for working data and the eri is purely for cosmetic and data roaming control purposes?19:57
rpierce99i say eri.xml just has "XDAndroid"19:57
hyceri.xml is purely cosmetic19:58
hycroaming will function correctly regardless19:58
stinebdbut can you still disable roaming?19:58
hycyes19:58
hycthe numeric operator ID property is what controls north americal dialing, though19:58
stinebddata19:58
rpierce99eri.xml just changes the text label on the lock screen and pulldown19:58
stinebdok19:59
hycand they still have to set the default_network to even get CDMA mode enabled19:59
hycunless you just want to enable worldphone by default and let everyone sort it out for themselves ;)19:59
stinebdthat would be nice19:59
stinebdat least that way it's guiable right?20:00
stinebdwithout writing crapps ourselves20:00
hyctrue, that gui already exists20:00
stinebdi'll have to play around with the ril on my rhod to see how the roaming indicator looks20:01
hycI could also patch the ril; if it boots up on a worldphone and finds no SIM card, just switch to CDMA20:01
stinebdthat would rock20:01
stinebdpersonally, i'd say that's the ideal behavior20:01
stinebdbut i've been lobbying for that for a while20:01
hycbut if the SIM card *is* there ... follow the android setting20:02
stinebdyeah20:02
hycif I owned a worldphone, I would leave the SIM in all the time20:02
stinebdis it complicated?20:02
hycno, at this point I think I know how to do it pretty simply20:02
arrrghhhhyc, that does sound like the best option20:02
arrrghhhplus, if it detects a worldphone with a SIM card,  you would be able to flip back to CDMA using the UI right?20:03
hycright20:03
arrrghhhdone.20:03
hycbut that means we have to decide to enable that UI. have you guys tried the worldphone UI yet?20:03
arrrghhhi did20:03
hycok20:03
arrrghhhand on 'your' build i just have to set that build.prop value right?20:04
hyci think it's inconvenient to leave it enabled, on a single-mode phone20:04
hycyeah20:04
arrrghhhi can try it again if you want20:04
stinebdi've tried it, the inconveniency isn't a huge problem20:04
hycok20:04
hycHmmm.20:05
hycI should have moved that property. the ril can just set it.20:05
hycif the current phone is a world phone20:06
hycril should set the prop20:06
hycyeah, going to rename that prop from ro.telephony.world_phone to ro.ril.world_phone. Then ril has perms to set it itself20:13
hycso no need to put it in a prop file20:13
hycany of you running my build right now?20:20
hycwhat does "AT+SIMTYPE" return for your phone?20:20
hycshould return +SIMTYPE: 0 if no SIM installed20:20
hycin adb shell : radiooptions 11 "AT+SIMTYPE"20:21
hycthe output only goes to logcat -b radio20:21
hycI really oughta patch it to return the output to the caller...20:21
stinebdsorry, still doing other stuff20:29
*** rpierce99_ has joined #xdandroid20:43
*** rpierce99 has quit IRC20:44
*** rpierce99_ is now known as rpierce9920:44
stinebdlooks like they finally fixed the rtsp issue in gingerbread20:52
stinebdwith the upcoming 2.3.4 release20:52
*** EdLin_ is now known as EdLin20:54
stinebdgod damn kids21:04
*** hardwalker has joined #xdandroid21:05
*** YellowGTO has quit IRC21:06
*** YellowGTO has joined #xdandroid21:06
arrrghhhget off mah lawn!21:08
arrrghhhhyc, D/AT      ( 1369): AT< +SIMTYPE: 021:10
*** GPFerror has quit IRC21:11
hyccool21:11
stinebdi bet that's tiad21:11
arrrghhhheh21:11
stinebdonly about 4 weeks left on this build21:15
arrrghhhlol21:15
arrrghhhcompiling on your 286?21:16
stinebdmore like TI-8921:16
arrrghhhnice21:16
stinebdbzo is here!21:16
bzoha, only lurking for like 8 hours now :p21:17
stinebddone with that thing yet?21:17
bzowhat thing?21:17
stinebdlibgps21:18
* stinebd runs21:18
bzolately I've had like 2 jobs :(21:18
stinebdstill got you beat there21:19
bzodon't think I've even booted android in the last month21:19
stinebdyou got me beat there21:19
stinebdi've booted android on my n1 at least21:20
bzowell, hopefully next month will be better21:20
bzoI'm ready for this one to be done21:20
stinebdonly the weekend is left21:20
stinebdhyc: is ril initpppd branch ready for a merge request?21:32
hycok, http://highlandsun.com/hyc/ril2-test.zip21:45
hycoh, didn't see your msg before I typed21:45
hycinitpppd is in working order already, but I'm just about to commit the worldphone detection21:46
hycassuming that one of you can test it and tell me it's OK21:46
rpierce99i'd test it but my main build lost it's data.img yesterday and I haven't gotten a chance to fix it21:46
stinebdi can test it21:46
hycok. really just need to get the radio log from bootup.21:47
rpierce99oh, well it gets that far21:47
hycit should say "Running on a world phone" first and then it should later say21:47
rpierce99just a lot of FCs21:47
hyc"World phone has no SIM card installed"21:47
stinebdbut mine does have a sim installed ;)21:47
hycof course, if you have one, then the 2nd msgs should not appear ;)21:48
hycand after that point, getprop should show "ro.ril.world_phone = true"21:48
hycif your SIM is present21:48
hycif SIM is absent, it should treat you as a pure CDMA phone21:48
arrrghhhnice21:49
hyc*if* everything goes as expected :P21:50
stinebdhas any more work been done on the touchscreen calibration in nand?21:51
stinebdby which i mean the factory values21:52
hycdunno. now that we can read the factory cal from mtd, seems it should all just be silently done by the ts driver21:52
arrrghhhthere was some discussion on the ML, not sure if anything came out of it.21:52
arrrghhhthat would be nice21:52
rpierce9904-28 15:51:36.370 D/RIL     ( 1341): Running on a world phone21:53
rpierce9904-28 15:51:38.840 D/RIL     ( 1341): World phone has no SIM card installed21:53
hycrpierce99: so that's correct? you have no SIM?21:54
rpierce99correct21:54
hyccool21:54
arrrghhhstinebd does have a SIM, so he can test that angle21:54
stinebdi can do what?!21:54
arrrghhhget to it21:55
* arrrghhh whips stinebd 21:55
hyccheck the radio log from booting the test ril21:55
hycmake sure that the ro.ril.world_phone prop is set to true if your SIM is installed21:55
rpierce99hyc: what do you see in the logs when you need to run fix_permissions21:56
hycusually database open failures21:56
stinebd[ro.ril.world_phone]: [true]21:56
stinebdbam21:56
hycexcellent....21:56
hycOK then, we can do this bit automatically21:56
hycwill commit and push21:56
stinebdSIMTYPE 2 right?21:57
hycI think that varies. mine is 321:57
stinebdah so21:57
stinebdnon-zero is your check?21:57
hycyep21:57
stinebdi wonder what the types are21:58
*** GPFerror has joined #xdandroid21:58
hycnot sure but I recall mention of 3G SIMs specifically21:59
hycso apparently SIM cards were tied to GSM tech level21:59
stinebdi think these phones should all require 3g sims21:59
hycdunno21:59
stinebdril is spamming like mad22:00
hycok, that commit is pushed22:00
hycspamming with what?22:00
stinebdregistration attempts22:00
stinebdmaybe it's in cdma mode22:00
stinebdcan't really do anything with the phone because of it22:01
hycmmm. bummer. were you saving the radio log? paste it up22:01
stinebdi can give you a portion22:02
stinebdbut it's all the same stuff anyway22:02
hycok22:02
stinebd90KB after like 2 seconds lol22:02
stinebdhttp://maduin.southcape.org/~bryan/android/rilspam.log22:03
hycCME ERROR 30 means no signal, IIRC22:04
stinebdin reality, signal is no issue here22:04
stinebdgot a tower right across the street actually22:04
hycthat's really bizarre, COPS returns failure while CREG says it's registered22:05
hycyeah, CME ERROR 30 is "No network service"22:06
hycso why is CREG returning that it's registered...22:06
stinebddunno22:06
stinebdi'll reboot and give you a full log22:06
hycok22:06
rpierce99yay, fix_permissions ftw22:08
*** TheSeven has quit IRC22:09
stinebdi don't think that'll fix it22:09
*** [7] has joined #xdandroid22:09
rpierce99no it fixed mine22:09
rpierce99not yours22:09
hycI've also pushed the Phone.apk change, so it also uses ro.ril.world_phone instead of ro.telephony.world_phone22:11
arrrghhhOo22:14
arrrghhhreboot within Android22:14
arrrghhhhaven't seen that in a while.  at least not when i'm not installing apps22:14
hycfun... what was it doing?22:14
arrrghhhwell i guess i was installing an app, the amazon app store was updating22:15
arrrghhha phone call came in22:15
arrrghhhphone call was fine, about 2 mins22:15
arrrghhhi hit end call... it hung... i hit end call again... bootani22:15
stinebdok22:15
arrrghhhalmost always reboots with no service too.22:16
stinebdhyc: i got a full log to send you but switching network mode fixes it22:16
stinebd0 = global kills it, while gsm/wcdma PRL is fine22:16
hycoh? it's happy with GSM-only, but not with global?22:17
stinebdwell i guess it doesn't "fix" it22:17
stinebdbut the loop goes away22:17
hychmmmm, I get it. I always wondered how this was going to work :P22:18
stinebddoes network_mode persist across boots?22:18
hycI don't recall22:18
hycprobably22:18
stinebdlet's find out then22:18
hycthere's a DB setting for it22:18
hycin global mode, we need to know if it registered as GSM or CDMA22:19
hycI think in your case, it registered as CDMA22:19
stinebdhyc: http://maduin.southcape.org/~bryan/android/hyc-radio-global.log22:19
stinebdlooks cdmaish22:19
stinebdi don't suppose a certain registration function would fail in the radio firmware with a sim installed?22:20
hycnah, I don't think it's that22:20
hycI think simply the GSM AT+COPS command doesn't work when you're in CDMA22:20
hycyeh, definitely looks like your phone is in CDMA. strange, because CGAATT=2,2,0 is supposed to be GSM/WCDMA22:24
hycnot CDMA22:24
stinebdgoes into the same loop on a reboot with network_mode=222:26
stinebdso yes network_mode does persist22:26
hycok22:26
stinebdhttp://maduin.southcape.org/~bryan/android/hyc-radio-gsmwcdmaauto.log22:26
hychmm. the ril doesn'tread the network_mode setting22:28
hycit just relies on the Phone app to send the Set_Preferred_Type request22:29
stinebdyeah22:30
stinebdthat would be in RILJ i assume22:30
hycyeah22:31
hyclooks like I'm going to have to detect this error and straighten things out22:31
hycstinebd: what happens if you leave winmo in airplane mode before booting22:43
hycbefore starting android that is22:43
stinebdmass hysteria probably22:44
arrrghhhlol22:44
*** LilMiSsY has joined #xdandroid22:47
*** LilMiSsY has left #xdandroid22:49
stinebdhyc: looks pretty much the same22:49
hycok, 1 sec22:50
hycnew test binary coming up22:50
hycsame url22:50
hychttp://highlandsun.com/hyc/ril2-test.zip22:50
hycthis one should tell Android it's in CDMA mode when this error happens22:51
hycseems stupid that setting the mode isn't one of the first commands the phone issues. wtf...22:51
hychow do they expect this stuff to work at all...22:51
stinebdCOPS always ruin it for everybody22:53
stinebdwent into the same loop22:54
hychmmm. let's see the log22:55
stinebdhttp://maduin.southcape.org/~bryan/android/hyc-radio-55a2412.log22:56
hycwasn't detected as a worldphone this time around22:58
hycgot confusing garbage at the beginning, leftover chatter from winmo22:58
stinebdtrying again then22:58
hyctry it again with winmo in airplane mode22:59
stinebdD/RIL     ( 1299): Running on a banana phone23:04
hycHmph23:04
hycBanaPCJr900023:04
hycBananaJrPC9000 ftw23:04
hycso what's it doing now?23:05
stinebdloopin23:05
hycgrumble...23:05
stinebdsame log address, just reload23:05
hycok23:05
*** tamsuiboy has joined #xdandroid23:06
hycthen the check I put in isn't in the right place23:07
*** tamsuiboy has quit IRC23:08
hycok. new binary, same url23:11
*** tamsuiboy has joined #xdandroid23:11
hycstinebd: got it?23:13
stinebdgot it23:13
*** YellowGTO has quit IRC23:14
*** YellowGTO has joined #xdandroid23:16
stinebdinteresting23:19
hycnew behavior?23:19
stinebdyeah23:19
stinebdnew log up23:19
stinebdi think you'll enjoy it23:20
hycuh oh... ;)23:20
stinebdit eventually kicks itself into cdma mode23:20
stinebdand i went into *#*#info#*#* and phone app crashed23:20
stinebdE/AndroidRuntime( 1695):        at com.android.internal.telephony.gsm.GSMPhone.getCellLocation(GSMPhone.java:261)23:23
stinebdE/AndroidRuntime( 1695):        at com.android.internal.telephony.DefaultPhoneNotifier.notifyCellLocation(DefaultPhoneNotifier.java:121)23:23
stinebdE/AndroidRuntime( 1695):        at com.android.internal.telephony.gsm.GSMPhone.notifyLocationChanged(GSMPhone.java:398)23:23
stinebdfor the phone crash23:23
stinebdNPE23:23
hycfun23:23
hycoh, kinda bizarre - you have both GSM and CDMA running concurrently23:24
hycusually it destroys the GSMphone first23:24
stinebdtold you you'd enjoy it23:24
hycyeah, pretty kewl....23:26
hychm, command 0067 it sets the preferred network type23:27
hyca bit late...23:27
hychm, Closing command socket. I think the ril-daemon died and restarted there23:28
hycand after that it's correctly in GSM mode23:30
hycjust looks like there's a long lag from setting the mode to the GSMphone or CDMAphone taking over23:33
stinebdit doesn't do anything in gsm mode though23:34
hyceh? looks like it was trying23:34
stinebdand in global mode it goes to cdma23:34
stinebdD/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=true23:34
stinebdD/RILJ    ( 1716): [0007]> RADIO_POWER23:34
stinebdE/GSM     ( 1716): Wrong network type: 023:34
stinebdthat's pretty much all you get in gsm mode23:35
hycis your SIM valid?23:36
stinebdyeah23:36
hyc I see +CGREG: responses in the log, so it's been trying to register as GSM23:36
hycin CDMA mode it only sends _CREG:23:37
hyc+CREG:23:37
stinebdmaybe it's sim locked23:47
hycdoes it work in winmo?23:48
stinebdapparently not23:48
hycsim locked should ask you for the unlock code23:48
hycwhat network is the sim?23:48
stinebdatt23:48
stinebdi don't mean sim pin locked23:49
stinebdi mean sim carrier locked23:49
hycoh, if you haven't done the unlock right, us networks are barred23:49
stinebdugh23:49
stinebdand surely the only way to do that is via moneys23:49
hycthe htc-unlocks crew will do it for free for xda developers23:50
*** tamsuiboy has quit IRC23:55
*** tamsuiboy has joined #xdandroid23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!