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
  #421 (permalink)  
Old 11-01-2010, 05:04 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by [ACL] View Post
have i told you that you are the man ? .. if i havent.. "U DA MAN"..
Always glad to help

I've got a couple other rhod500 users here that I might be able to borrow their phones as well if you think it may vary from phone to phone even on the same variant.
Reply With Quote
  #422 (permalink)  
Old 11-01-2010, 05:14 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by natemcnutty View Post
Will fix and update in a few hours once I get off work. I'll move it to the beginning and do a little testing to make sure it works properly before I release it
OK, I couldn't help it. I saw stinebd added OTA update support and had to have some fun. I incorporated the change for the echo to brightness to be done earlier so the panel doesn't go off during any of the boot. New rootfs is updated on the first post.

ACL, does the backlight turn on and off properly for you? Once I power it off, I can't get it to reliably turn back on. Once out of every 20 or so attempts I can keep it on, but most of the time it turns on and flickers back off within seconds.
Reply With Quote
This post has been thanked 1 times.
  #423 (permalink)  
Old 11-01-2010, 05:19 PM
coolsilver's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
 
Join Date: Oct 2007
Posts: 233
Reputation: 125
coolsilver is keeping up the good workcoolsilver is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Just downloaded it. Great timing.

Finally got around to updating my system.ext2 file

Taking a bit longer to boot obviously.

lol new data.img time

Last edited by coolsilver; 11-01-2010 at 05:27 PM.
Reply With Quote
  #424 (permalink)  
Old 11-01-2010, 06:11 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by natemcnutty View Post
OK, I couldn't help it. I saw stinebd added OTA update support and had to have some fun. I incorporated the change for the echo to brightness to be done earlier so the panel doesn't go off during any of the boot. New rootfs is updated on the first post.

ACL, does the backlight turn on and off properly for you? Once I power it off, I can't get it to reliably turn back on. Once out of every 20 or so attempts I can keep it on, but most of the time it turns on and flickers back off within seconds.
nope.. panel down isnt working. Well i can get it to shutdown but it wont come back up. alot of work to clean all of that up.
__________________
Reply With Quote
  #425 (permalink)  
Old 11-01-2010, 07:08 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX02) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Quote:
Originally Posted by [ACL
]
Quote:
Originally Posted by natemcnutty View Post
OK, I couldn't help it. I saw stinebd added OTA update support and had to have some fun. I incorporated the change for the echo to brightness to be done earlier so the panel doesn't go off during any of the boot. New rootfs is updated on the first post.

ACL, does the backlight turn on and off properly for you? Once I power it off, I can't get it to reliably turn back on. Once out of every 20 or so attempts I can keep it on, but most of the time it turns on and flickers back off within seconds.
nope.. panel down isnt working. Well i can get it to shutdown but it wont come back up. alot of work to clean all of that up.
Where can we start looking at this. I'm assuming that this is where the battery drain is coming from compared to the haret version... I lose about 10% an hour with it on "standby".
__________________
Reply With Quote
  #426 (permalink)  
Old 11-01-2010, 07:08 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX02) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Oops!

Last edited by Lmiller1708; 11-01-2010 at 07:10 PM.
Reply With Quote
  #427 (permalink)  
Old 11-01-2010, 09:41 PM
coolsilver's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
 
Join Date: Oct 2007
Posts: 233
Reputation: 125
coolsilver is keeping up the good workcoolsilver is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Where is the code located for that? I'll look through it and maybe toss some ideas at you to translate into working code.

Nevermind looking through last committed files.

Last edited by coolsilver; 11-01-2010 at 10:18 PM.
Reply With Quote
  #428 (permalink)  
Old 11-01-2010, 10:46 PM
coolsilver's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
 
Join Date: Oct 2007
Posts: 233
Reputation: 125
coolsilver is keeping up the good workcoolsilver is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Looking back through haret kernels... I remember when they got power collapse to work and dimming.

Here is that commit.
Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious

I seen a few different times Diamond had rewritten the i2c calls

Here is one example a few months ago when their panel stopped working right.

Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious

None of that code messed with RHOD from what I could tell. I dunno just trying to think. I can't see a reason why it would work on HARET but not NAND.

Last edited by coolsilver; 11-01-2010 at 10:49 PM.
Reply With Quote
  #429 (permalink)  
Old 11-02-2010, 01:09 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

I can post the assembly from the dlls :-p

The issue is the following.

Compare the topaz panel code compared to the rhod panel. You will notice the topaz has gpio information, vreg information and up on top they have the mddi init.

We have none of those, well actually we have the gpio's from the disassembled dll i dug up. Issue is when i shut down the gpios.. and then turn them back on, android doesnt resume. Its as if android doesn't see the panel come back up.

This is an old panel code i wrote before the autobl commit.

http://pastebin.com/fcWDwQ54

If you notice the blank and unblank functions you will see the gpio settings we are missing on the current code. I cant commit them yet since i cant bring the panel back up. I spoke to wistilt about this and he recommended to call the resume function on the microp code after the unblank so we can turn on the brightness and android can know we are back up. Unfortunately that does not work. So thats where the issue remains.

Topaz right now has working panel up and down but apparently autobl breaks their up and down as well. So autobl may not be 100% for everyone yet. If you guys want, you can revert back to the pre-autobl commit and use my panel code i pasted. You will see the screen go black.

Any of you have wince compilers? maybe studying how to do it on wince we can do it on android. the dll that handles all of this crap is disptools.dll.
Reply With Quote
  #430 (permalink)  
Old 11-02-2010, 01:16 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by natemcnutty View Post
Always glad to help

I've got a couple other rhod500 users here that I might be able to borrow their phones as well if you think it may vary from phone to phone even on the same variant.
We need to run this on a cdma phone
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 07:46 AM.


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