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

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2011, 10:32 AM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
Threadstarter
 
Join Date: Apr 2010
Posts: 70
Reputation: 715
jonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

Ndno,

Your new model looks good. There is a new kernel and rootfs.img i have uploaded. Need both at the same time, neither are backwards compatible. It will make some attempt to determine se=. right now it is just at the default. I think this will improve sleep accuracy, se should be within 0 - .008

Did you download the modules .tar.gz from the first post? That will be necessary to get working wifi. If its still not working post a dmesg from when you try to enable wifi. Works on my phone, just a module problem one way or another.
__________________
Hmm, Like my work? Don't be shy, donate!.
https://www.paypal.com/cgi-bin/websc...=VZ32N65HCXZBU
Reply With Quote
  #2 (permalink)  
Old 04-10-2011, 08:13 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

Quote:
Originally Posted by jonpry View Post
Ndno,

Your new model looks good. There is a new kernel and rootfs.img i have uploaded. Need both at the same time, neither are backwards compatible. It will make some attempt to determine se=. right now it is just at the default. I think this will improve sleep accuracy, se should be within 0 - .008

Did you download the modules .tar.gz from the first post? That will be necessary to get working wifi. If its still not working post a dmesg from when you try to enable wifi. Works on my phone, just a module problem one way or another.
OK, I just downloaded the files from your first post and they are the same as before (I mean the same as the time you first started this thread). So I already have the latest. You mentioned a "new kernel and rootfs.img" but they look the same as those from the time this thread started. When were these uploaded?

I'm going to test the wifi now and post the dmesg for you.

EDIT: OK, it looks like the kernel you have in the first post has a different "version" than the modules you posted. I ran the "lsmod" command and it shows no modules loaded, meaning the broadcom module for the wifi hardware is not loaded. I did some further investigation:

Quote:
# uname -a
uname -a
Linux localhost 2.6.27.46-01301-g595725b-dirty #167 PREEMPT Wed Apr 6 11:36:31 AST 2011 armv6l GNU/Linux
However the modules you have in the first post is modules-2.6.27.46-01300-g78e70e3-dirty.tar.gz, which has build 1300, not 1301. Will the broadcom module load if the kernel has a different build than the modules?

I tried to force the wifi hardware load as follows:
Quote:
# cd /lib/modules/2.6.27.46-01300-g356b733-dirty # it goes to /data/modules
# insmod bcm4329.ko
insmod bcm4329.ko
insmod: can't insert 'bcm4329.ko': invalid module format
The dmesg has the follow error:
Quote:
[ 6778.379180] bcm4329: version magic '2.6.27.46-01300-g356b733-dirty preempt mod_unload ARMv6 ' should be '2.6.27.46-01301-g595725b-dirty preempt mod_unload ARMv6 '
So it seems like the modules and zImage in the first post don't play nice with either other due to the different build number. Can you post the modules*.tar.gz file for build 1301? Thanks.

Last edited by ndno; 04-10-2011 at 08:59 PM.
Reply With Quote
  #3 (permalink)  
Old 04-10-2011, 10:45 PM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
Threadstarter
 
Join Date: Apr 2010
Posts: 70
Reputation: 715
jonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

How are you checking that the files are the same as they used to be? Definitely uploaded new stuff. When you run the app it should say scbs version 0.4.a. I will upload a new modules tar shortly and update this post. I thought it would work as long as the git commit was the same id.
Reply With Quote
This post has been thanked 1 times.
  #4 (permalink)  
Old 04-10-2011, 02:53 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by jonpry View Post
Ndno,

Your new model looks good. There is a new kernel and rootfs.img i have uploaded. Need both at the same time, neither are backwards compatible. It will make some attempt to determine se=. right now it is just at the default. I think this will improve sleep accuracy, se should be within 0 - .008

Did you download the modules .tar.gz from the first post? That will be necessary to get working wifi. If its still not working post a dmesg from when you try to enable wifi. Works on my phone, just a module problem one way or another.
Thanks. I will update the kernel and rootfs.img from the first post; I didnt't realize you updated them since you started the thread. I'm using the modules*.tar.gz from your first post. I will make sure when I get back; I will post the error from dmesg for you.

Had a charge lockup this morning. I went to sleep having my phone hooked up to the charger. When I woke up this morning, the led was blinking green but I couldn't get it to wake up; pulled the battery and rebooted to winmo, which showed a 100% charge; booted back to android and it showed a 98% charge. This is with the 1.103 to one of values in sbcs.conf you recommended because my phone would stop charging at the 95-98% range.

Sent from my FRX06-ized TP2 using Tapatalk
Reply With Quote
  #5 (permalink)  
Old 04-10-2011, 02:57 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] SCBS: Improved battery meter system

Quote:
Originally Posted by ndno View Post
Had a charge lockup this morning. I went to sleep having my phone hooked up to the charger. When I woke up this morning, the led was blinking green but I couldn't get it to wake up; pulled the battery and rebooted to winmo, which showed a 100% charge; booted back to android and it showed a 98% charge. This is with the 1.103 to one of values in sbcs.conf you recommended because my phone would stop charging at the 95-98% range
I had a lockup condition exactly like this today as well - phone wasn't hot, LED blinking green... all the lights worked (4-button lights & kbd lights) so kernel was *somewhat*awake... But nothing would get the phone to actually turn on. Phone was on the charger all night.

Very weird condition... I wonder if there's some way to have logs going at all times, that rotate when they need to? Probably won't be able to rotate them when they need to... but maybe we can at least get some logging going with the hope that it catches this crap.
Reply With Quote
  #6 (permalink)  
Old 04-10-2011, 03:19 PM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
Threadstarter
 
Join Date: Apr 2010
Posts: 70
Reputation: 715
jonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

I haven't seen this charge lock up thing before. I'll have my phone spend more time on the charger in hopes of catching it.
Reply With Quote
  #7 (permalink)  
Old 04-10-2011, 03:22 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

Quote:
Originally Posted by arrrghhh View Post
I had a lockup condition exactly like this today as well - phone wasn't hot, LED blinking green... all the lights worked (4-button lights & kbd lights) so kernel was *somewhat*awake... But nothing would get the phone to actually turn on. Phone was on the charger all night.
Yep, exactly like yours. Buttons and keys continue to work. That's the only problem I've seen so far (and maybe the wifi, I need to double check). Been running this kernel for the last 4 days without any SOD or reboot to WinMo.
Reply With Quote
  #8 (permalink)  
Old 04-10-2011, 10:51 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by jonpry View Post
How are you checking that the files are the same as they used to be? Definitely uploaded new stuff. When you run the app it should say scbs version 0.4.a. I will upload a new modules tar shortly and update this post. I thought it would work as long as the git commit was the same id.
Sorry if I'm incorrectly downloading the files. I just use "diff" under Ubuntu to check if they are the same files as the ones I already have on my SD card and they are. I'll try again.

Edit: OK, I have 0.3.d as the version which is old. Is this from the kernel, modules, or rootfs? I will replace the ones on my SD card with the new ones downloaded from the first post.

Sent from my FRX06-ized TP2 using Tapatalk

Edit2: Ok, my rootfs.img was old so I replaced it and now the version is 0.4.a (the only difference was the scbs binary executable). My zImage and modules I have on my SD card are exactly from the first post; the broadcom module won't load as I stated in my last post, even if I forced it via the insmod command.

Last edited by ndno; 04-11-2011 at 05:02 AM.
Reply With Quote
  #9 (permalink)  
Old 04-11-2011, 12:00 PM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
Threadstarter
 
Join Date: Apr 2010
Posts: 70
Reputation: 715
jonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

I spent like an hour trying to edit the first post and it just won't commit for me. Urgh. Here is a link to the new modules.

http://prymfg.com/kernel/modules-2.6...b-dirty.tar.gz
Reply With Quote
This post has been thanked 3 times.
  #10 (permalink)  
Old 04-11-2011, 12:15 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] SCBS: Improved battery meter system

Quote:
Originally Posted by jonpry View Post
I spent like an hour trying to edit the first post and it just won't commit for me. Urgh. Here is a link to the new modules.

http://prymfg.com/kernel/modules-2.6...b-dirty.tar.gz
I'm not sure what's up with ppcg, but "Quick Edit" doesn't work. Hit "Go Advanced", make your edit, "Save Changes" -> should be good .
Reply With Quote
This post has been thanked 1 times.
Reply

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

Tags
battery, tp2

Thread Tools
Display Modes

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 02:04 PM.


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