PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-14-2011, 12:40 PM
starling100's Avatar
Lurker
Offline
Pocket PC: RHOD100
Carrier: GSM
 
Join Date: Dec 2011
Posts: 11
Reputation: 15
starling100 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by [ACL] View Post
Do a dmesg dump when you are in a call and placing your finger over the LS. The dmesg will show it on or off.

For light sensor, do a logcat dump and put it under a lap with automatic brightness enabled. THe logcat will show the Light sensor value from 0 to 9.

I wont be able to develop much since my main rhod phone is sort of dead. So i'll try to resolve the mic issue since that is what is stopping more progress but its also slowing down cdma development which is farther ahead.
Sorry, I'm new on debugging.

Are these commands enough after I connected USB and ADB?

adb shell dmesg > dmesg.txt
adb logcat -b main -v time>app.log
adb logcat -b radio -v time> radio.log
Reply With Quote
  #2 (permalink)  
Old 12-14-2011, 12:42 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by starling100 View Post
Sorry, I'm new on debugging.

Are these commands enough after I connected USB and ADB?

adb shell dmesg > dmesg.txt
adb logcat -b main -v time>app.log
adb logcat -b radio -v time> radio.log
Allow me to make some slight modifications. dmesg looks fine.

adb logcat -v time -d > app.log
adb logcat -b radio -v time -d > radio.log

The -d will stop logcat when it's done. I also added spaces, I can't remember if they're required or not.
Reply With Quote
  #3 (permalink)  
Old 12-14-2011, 01:24 PM
starling100's Avatar
Lurker
Offline
Pocket PC: RHOD100
Carrier: GSM
 
Join Date: Dec 2011
Posts: 11
Reputation: 15
starling100 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by arrrghhh View Post
Allow me to make some slight modifications. dmesg looks fine.

adb logcat -v time -d > app.log
adb logcat -b radio -v time -d > radio.log

The -d will stop logcat when it's done. I also added spaces, I can't remember if they're required or not.
OK, after 2 times reboot with my terrible USB cable.
I got several logs for debugging MIC issues. Hope it's helpful for you.

Last edited by starling100; 12-14-2011 at 11:14 PM.
Reply With Quote
  #4 (permalink)  
Old 12-14-2011, 01:37 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by starling100 View Post
OK, after 2 times reboot and my terrible USB cable.
I got several logs for debugging MIC issues. Hope it's helpful for you.
hey did you try the light sensor and prox ? this dmesg is really short and doesnt show much activity when it comes to LS and prox

There is something wrong with your setup.

12-15 01:01:47.530 E/lights ( 122): write_int failed to open /dbgfs/micropklt_dbg/auto_backlight

This does not exist on my code. Did you modify the sensors ?

EDIT: I see, you are using haret libs. I'm going to let you know this only once. I don't support hacked setups. It makes it impossible to troubleshoot and delays progress. So if you want to help, you have to use what we put out. Plain and simple. Or else your bugs will be mistaken for something else and we end up loosing time.

So please, fix your setup or wait until a final release.
__________________

Last edited by [ACL]; 12-14-2011 at 02:05 PM.
Reply With Quote
  #5 (permalink)  
Old 12-14-2011, 10:26 PM
starling100's Avatar
Lurker
Offline
Pocket PC: RHOD100
Carrier: GSM
 
Join Date: Dec 2011
Posts: 11
Reputation: 15
starling100 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by [ACL] View Post
hey did you try the light sensor and prox ? this dmesg is really short and doesnt show much activity when it comes to LS and prox

There is something wrong with your setup.

12-15 01:01:47.530 E/lights ( 122): write_int failed to open /dbgfs/micropklt_dbg/auto_backlight

This does not exist on my code. Did you modify the sensors ?

EDIT: I see, you are using haret libs. I'm going to let you know this only once. I don't support hacked setups. It makes it impossible to troubleshoot and delays progress. So if you want to help, you have to use what we put out. Plain and simple. Or else your bugs will be mistaken for something else and we end up loosing time.

So please, fix your setup or wait until a final release.
OK, I see.
I do all of them again and use all the newest dev from your Google code pages.

PS:
I used the new ibhtcgeneric-ril.so, kernel and changed the ro.telephony.default_network = 1

1. GSM is working.
2. The light sensor and prox are working.
3. Panel working after sleep.
4. Calling: MIC issue. Can use the headset to let he/she to hear your voice.

3 version Logs are attached, hope it's helpful.
Attached Files
File Type: rar debug log for RHod100 MIC.rar (108.4 KB, 5 views) Click for barcode!

Last edited by starling100; 12-14-2011 at 11:08 PM.
Reply With Quote
  #6 (permalink)  
Old 12-14-2011, 10:41 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by starling100 View Post
OK, I see.
I do all of them again and use all the newest dev from your Google code pages.

PS:
I used the new ibhtcgeneric-ril.so, kernel and changed the ro.telephony.default_network = 1

1. GSM is working.
2. The light sensor and prox are working.
3. Panel working after sleep.
4. Calling: Can use the headset to let he/she to hear your voice.
Awesome. So for GSM to work, you have to make that build.prop change? Have you tried this without the build.prop change? Sorry for making you jump thru hoops, we just really need to sort out what is needed and what isn't.

Also, for #4 calling - obviously the mic doesn't work - for headset, are you using the extUSB headset? Which is wired, plugs into your phone? Also, have you tried the speakerphone on/off trick? Wonder if that works. Thanks.
Reply With Quote
  #7 (permalink)  
Old 12-14-2011, 11:06 PM
starling100's Avatar
Lurker
Offline
Pocket PC: RHOD100
Carrier: GSM
 
Join Date: Dec 2011
Posts: 11
Reputation: 15
starling100 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] - NAND OMGB (1.2.3)

Quote:
Originally Posted by arrrghhh View Post
Awesome. So for GSM to work, you have to make that build.prop change? Have you tried this without the build.prop change? Sorry for making you jump thru hoops, we just really need to sort out what is needed and what isn't.

Also, for #4 calling - obviously the mic doesn't work - for headset, are you using the extUSB headset? Which is wired, plugs into your phone? Also, have you tried the speakerphone on/off trick? Wonder if that works. Thanks.
Yes, the orignal extUSB headset as below.

Speakerphone on/off trick many times, not working.

BTW I upload the logs above, hope it's helpful for troubleshooting.
Attached Images
File Type: jpg htc headset.jpg (13.6 KB, 62 views) Click for barcode!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:45 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com