|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
i can still switch to cdma service also if it matters. i dont have cdma service but its still tied to my old carrier and i get the message saying its not active
should i try the libhtc without a change to my build.prob to see if that matters? |
|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
I am not sure, you can use any value except 4, I define 4 to CDMA service.
Last edited by muziling; 12-07-2011 at 12:38 PM. |
|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
Quote:
When you boot into the try color screen boot loader on the rhod. Write down the TP MFG data. We recycle those numbers. Now adb shell into android and do a cat /data/ts_calibration (assuming you didnt change it). Those numbers should so up. Now, the order is different but the numbers should be the same.
__________________
|
|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
thanks for taking the initiative here muz. .. now lets make you famous and make a patch. You know how to ? or at least what you want to change ?
|
|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
as the late great tony montana said:
"ok, im reloaded" task 29 and redid it without touching build.prob. only added libhtc file and on first boot it went to my gsm service automatically. now i cant test data tho. i dont have a data plan right now. |
|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
Quote:
Code:
#if 0 fd=open("/sys/class/htc_hw/radio", O_RDONLY); read(fd, buffer, 32); close(fd);//muziling if(strncmp(buffer, "GSM",3)==0) { phone_has = MODE_GSM; phone_is = MODE_GSM; LOGI("RIL_Init found GSM hardware"); } else { phone_has = MODE_CDMA; phone_is = MODE_CDMA; LOGI("RIL_Init found CDMA hardware"); } #endif memset(buffer, 0, sizeof(buffer)); property_get("ro.telephony.default_network", buffer, "4"); if(strcmp(buffer, "4")==0) { phone_has = MODE_CDMA; phone_is = MODE_CDMA; LOGI("RIL_Init found CDMA hardware"); } else { phone_has = MODE_GSM; phone_is = MODE_GSM; LOGI("RIL_Init found GSM hardware"); } Last edited by muziling; 12-07-2011 at 12:59 PM. |
This post has been thanked 1 times. |
|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
Quote:
so here is some pseudo if (variant = 400/500) { phone_is = MODE_CDMA phone_has = MODE_GSM <--- we let ril know we have gsm phone too } else { phone_is = MODE_GSM phone_has = MODE_GSM } Either way, good work. Now to make it all automated |
|
||||
Re: [TESTING] - NAND OMGB (1.2.3)
alright now that i can actually use the phone and test it im noticing im not getting debugging mode for usb
is this dependant on my PC to show up on the phone as in debugging mode? i had reinstalled windows a bit ago but adb seems to be working for me. i can flash and everything no problem reason im asking is im trying to run logcat to see why my market is crashing. it loads for like 5 seconds or so then i get a force close window and my adb cant see it when androids loaded |
|
|
|